Skip to content

Commit

Permalink
build: update tooling
Browse files Browse the repository at this point in the history
  • Loading branch information
Xunnamius committed Jan 6, 2023
1 parent 5fd2a69 commit d5b4d9c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ const rules = {
src: false,
dest: false,
obj: false,
val: false
val: false,
env: false
},
ignore: [/stderr/i]
}
Expand Down Expand Up @@ -151,7 +152,8 @@ module.exports = {
'jest/prefer-mock-promise-shorthand': 'off',
'jest/no-conditional-in-test': 'off',
'jest/no-conditional-expect': 'off',
'jest/prefer-each': 'off'
'jest/prefer-each': 'off',
'jest/prefer-snapshot-hint': 'off'
}
}
],
Expand Down
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ module.exports = {
testTimeout: 1000 * 60 * (process.env.VSCODE_INSPECTOR_OPTIONS ? 60 * 24 : 1),
verbose: false,
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
setupFilesAfterEnv: ['./test/setup.ts'],
collectCoverageFrom: ['src/**/*.ts?(x)'],
// ? Make sure jest-haste-map doesn't try to parse and cache fixtures
modulePathIgnorePatterns: ['<rootDir>/test/fixtures']
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@
"target": "esnext"
},
"exclude": ["node_modules"],
"include": ["src/**/*", "test/**/*"]
"include": ["types/**/*", "src/**/*", "test/**/*"]
}

0 comments on commit d5b4d9c

Please sign in to comment.