skip to Main Content

Redis – Jest + nest.js, absolute paths for tests

Here's my jest config inside of package.json: "jest": { "moduleFileExtensions": [ "js", "json", "ts" ], "moduleDirectories":["node_modules", "src"], // tried to solve the issue like that "rootDir": "src", "testRegex": ".spec.ts$", "transform": { "^.+\.(t|j)s$": "ts-jest" }, "coverageDirectory": "../coverage", "testEnvironment": "node" } AFAIK…

VIEW QUESTION
Back To Top
Search