Open carlocorradini opened 1 year ago
29.0.3
npm ci
npm test
I expect that the paths (e.g. ~/utils) present in the code (from tsconfig.json) are correctly mapped and translated.
paths
~/utils
tsconfig.json
Paths are not mapped and translated, resulting in jest failing: Could not locate module ...
jest
Could not locate module ...
ts-jest.log
With typescript v4.9.3 it works flawlessly:
v4.9.3
System: OS: Windows 10 10.0.19045 CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz Binaries: Node: 16.14.2 - D:\DATA\nodejs\node.EXE npm: 8.19.1 - D:\DATA\nodejs\npm.CMD npmPackages: jest: ^29.3.1 => 29.3.1
Just adding a +1 to this.
Version
29.0.3
Steps to reproduce
npm ci
npm test
Expected behavior
I expect that the
paths
(e.g.~/utils
) present in the code (fromtsconfig.json
) are correctly mapped and translated.Actual behavior
Paths are not mapped and translated, resulting in
jest
failing:Could not locate module ...
Debug log
ts-jest.log
Additional context
With typescript
v4.9.3
it works flawlessly:npm ci
npm test
(IT WORKS!)Environment