Closed impankratov closed 8 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
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.
Closing in favor of https://github.com/nvim-neotest/neotest-jest/pull/91, vim.fs.normalize(pos.path) solves problem for me.
vim.fs.normalize(pos.path)
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.