Skip to content

Commit d5b4d9c

Browse files
committedJan 6, 2023
build: update tooling
1 parent 5fd2a69 commit d5b4d9c

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed
 

‎.eslintrc.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ const rules = {
8585
src: false,
8686
dest: false,
8787
obj: false,
88-
val: false
88+
val: false,
89+
env: false
8990
},
9091
ignore: [/stderr/i]
9192
}
@@ -151,7 +152,8 @@ module.exports = {
151152
'jest/prefer-mock-promise-shorthand': 'off',
152153
'jest/no-conditional-in-test': 'off',
153154
'jest/no-conditional-expect': 'off',
154-
'jest/prefer-each': 'off'
155+
'jest/prefer-each': 'off',
156+
'jest/prefer-snapshot-hint': 'off'
155157
}
156158
}
157159
],

‎jest.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module.exports = {
99
testTimeout: 1000 * 60 * (process.env.VSCODE_INSPECTOR_OPTIONS ? 60 * 24 : 1),
1010
verbose: false,
1111
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
12+
setupFilesAfterEnv: ['./test/setup.ts'],
1213
collectCoverageFrom: ['src/**/*.ts?(x)'],
1314
// ? Make sure jest-haste-map doesn't try to parse and cache fixtures
1415
modulePathIgnorePatterns: ['<rootDir>/test/fixtures']

‎tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@
2323
"target": "esnext"
2424
},
2525
"exclude": ["node_modules"],
26-
"include": ["src/**/*", "test/**/*"]
26+
"include": ["types/**/*", "src/**/*", "test/**/*"]
2727
}

0 commit comments

Comments
 (0)
Please sign in to comment.