We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea04f4e commit 2b12cf9Copy full SHA for 2b12cf9
packages/strings-to-regex/jest.config.js
@@ -0,0 +1,13 @@
1
+module.exports = {
2
+ collectCoverageFrom: ['./src/**/?*.(js|ts)', '!**/src/**/?*.d.ts'],
3
+ restoreMocks: true,
4
+ globals: {
5
+ 'ts-jest': {
6
+ isolatedModules: true,
7
+ tsconfig: 'tsconfig.test.json',
8
+ },
9
10
+ preset: 'ts-jest',
11
+ testEnvironment: 'node',
12
+ verbose: true,
13
+};
packages/strings-to-regex/package.json
@@ -26,10 +26,6 @@
26
"release": "npx release-it --no-increment",
27
"test": "jest --coverage"
28
},
29
- "jest": {
30
- "preset": "ts-jest",
31
- "restoreMocks": true
32
- },
33
"devDependencies": {
34
"@types/jest": "^27.0.1",
35
"@types/jest-when": "^3.5.0",
0 commit comments