Skip to content

Commit

Permalink
Update configs
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksteamdev committed Jun 9, 2020
1 parent 75089e9 commit 55d9125
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const jest = {
'no-restricted-globals': 'off',
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},
plugins: ['jest'],
}
Expand Down
5 changes: 1 addition & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ module.exports = {
globals: {
'ts-jest': {
packageJson: 'package.json',
tsConfig: 'tsconfig.test.json',
tsConfig: 'tsconfig.json',
},
},
setupFilesAfterEnv: ['./tests/jest.setup.ts'],
transform: {
'.(js|jsx)': '@sucrase/jest-plugin',
},
testPathIgnorePatterns: ['/node_modules/', '/playground/'],
}
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"target": "es2017",
"lib": ["es2017", "dom", "esnext.array"],
},
"include": ["src"],
"include": ["src", "tests"],
"typeAcquisition": { "enable": true }
}
6 changes: 0 additions & 6 deletions tsconfig.test.json

This file was deleted.

0 comments on commit 55d9125

Please sign in to comment.