nvim-neotest / neotest-jest

MIT License
116 stars 79 forks source link

fix: escape test file path #90

Closed impankratov closed 8 months ago

impankratov commented 9 months ago

In case special symbols are present in file path, jest won't find the actual file, thus failing the test run.

Example: libs/store/entity/src/lib/+state/entity.reducer.spec.ts

Encountered this when trying to test ngrx-store spec files generated by @ngrx/schematics:store.

impankratov commented 8 months ago

Closing in favor of https://github.com/nvim-neotest/neotest-jest/pull/91, vim.fs.normalize(pos.path) solves problem for me.