cypress icon indicating copy to clipboard operation
cypress copied to clipboard

refactor: lifts toPosix to its own file, removes circular dependency between stack_utils and source_map_utils

Open cacieprins opened this issue 1 month ago • 3 comments

  • Closes

Additional details

Lifts the function from stack_utils that source_map_utils was using to its own file. This enables the removal of the stack_utils.ts <-> source_map_utils cycle. Vitest unit tests are added as well.

This utility is recreated several times across the repo. Perhaps a single third party npm package, like unixify or normalize-path would be helpful.

Steps to test

How has the user experience changed?

PR Tasks

cacieprins avatar Jan 30 '25 17:01 cacieprins