Categories
Development

ts-jest: map ‘@’ char to /src folder

I have a node project with typescript, and I have the following paths configured in my tsconfig.json file: “paths”: { /* A series of entries which re-map imports to lookup locations relative to the ‘baseUrl’. */ “@project/*”: [“./../*”], “@*”: [“./*”], }, My config files are at /project folder, and my sources at /project/src It works […]