This commit is contained in:
20
app/type-from-json/jest.config.js
Normal file
20
app/type-from-json/jest.config.js
Normal file
@@ -0,0 +1,20 @@
|
||||
module.exports = {
|
||||
preset: "ts-jest",
|
||||
testEnvironment: "node",
|
||||
roots: ["<rootDir>/tests", "<rootDir>/src"],
|
||||
testMatch: ["**/*.test.ts"],
|
||||
collectCoverageFrom: ["src/**/*.ts"],
|
||||
coverageDirectory: "coverage",
|
||||
moduleFileExtensions: ["ts", "js", "json"],
|
||||
verbose: true,
|
||||
moduleNameMapper: {
|
||||
'^(\.{1,2}/.*)\.js$': '$1'
|
||||
},
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
diagnostics: {
|
||||
ignoreCodes: ['TS151002']
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user