Skip to content

Commit

Permalink
Disabled strict checks for test files
Browse files Browse the repository at this point in the history
  • Loading branch information
caderek committed Oct 17, 2019
1 parent 0f14204 commit a354ea1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
module.exports = {
globals: {
'ts-jest': {
tsConfig: 'tsconfig.test.json',
},
},
preset: 'ts-jest',
testEnvironment: 'node',
}
12 changes: 12 additions & 0 deletions tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"compilerOptions": {
"target": "es2015",
"module": "commonjs",
"removeComments": true,
"declaration": true,
"outDir": "./lib",
"preserveConstEnums": true
},
"include": ["src"],
"exclude": ["node_modules", "src/**/*.test.ts", "src/**/*.temp.ts"]
}

0 comments on commit a354ea1

Please sign in to comment.