Skip to content

Commit d8f5a9d

Browse files
devnielMichalLytek
andauthored
fix(nest): support providers with Symbol names (#1)
Co-authored-by: Michał Lytek <michal.wojciech.lytek@gmail.com>
1 parent 37b76bc commit d8f5a9d

7 files changed

+5282
-181
lines changed

jest.config.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports = {
2+
verbose: false,
3+
transform: {
4+
"^.+\\.tsx?$": "ts-jest",
5+
},
6+
testMatch: ["**/tests/*.spec.ts"],
7+
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
8+
rootDir: "./",
9+
roots: ["<rootDir>/tests", "<rootDir>/src"],
10+
collectCoverage: false,
11+
collectCoverageFrom: [
12+
"<rootDir>/src/**/*.ts",
13+
"!<rootDir>/src/**/*.d.ts",
14+
],
15+
coverageDirectory: "<rootDir>/coverage",
16+
testEnvironment: "node",
17+
globals: {
18+
'ts-jest': {
19+
tsConfig: '<rootDir>/tests/tsconfig.json'
20+
}
21+
},
22+
};

0 commit comments

Comments
 (0)