Skip to content

Commit efa4c66

Browse files
committed
Remove unnecessary setup
1 parent 85f9de9 commit efa4c66

File tree

3 files changed

+28
-36
lines changed

3 files changed

+28
-36
lines changed

jest.config.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
const path = require('path');
22

33
module.exports = {
4-
roots: ['<rootDir>'],
54
verbose: true,
65
preset: 'ts-jest/presets/js-with-babel',
7-
// moduleNameMapper: {
8-
// '\\.(css|less|sass|scss)$': '<rootDir>/',
9-
// '\\.(gif|ttf|eot)$': '@jupyterlab/testutils/lib/jest-file-mock.js'
10-
// },
116
transform: {
12-
// '\\.svg$': 'jest-raw-loader',
13-
// '^.+\\.md?$': 'markdown-loader-jest',
147
'^.+\\.tsx?$': 'ts-jest'
158
},
169
setupFiles: ['<rootDir>/testutils/jest-setup-files.js'],

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@
2020
"target": "es2017",
2121
"types": []
2222
},
23-
"include": ["src/*", "src/*.tsx", "test/*"]
23+
"include": ["src/*", "src/*.tsx"]
2424
}

tsconfig.test.json

Lines changed: 27 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
1-
// {
2-
// "compilerOptions": {
3-
// "declaration": true,
4-
// "noImplicitAny": true,
5-
// "noEmitOnError": true,
6-
// "noUnusedLocals": true,
7-
// "module": "commonjs",
8-
// "moduleResolution": "node",
9-
// "target": "es2015",
10-
// "outDir": "lib",
11-
// "lib": [
12-
// "es2015",
13-
// "es2015.collection",
14-
// "dom",
15-
// "es2015.iterable",
16-
// "es2017.object"
17-
// ],
18-
// "types": ["jest", "node"],
19-
// "typeRoots": ["./types", "./node_modules/@types"],
20-
// "jsx": "react",
21-
// "resolveJsonModule": true,
22-
// "esModuleInterop": true,
23-
// "strictNullChecks": true,
24-
// "skipLibCheck": true
25-
// },
26-
// "exclude": ["node_modules", "**/*.spec.ts", "**/*.test.ts"],
27-
// "include": ["./src/**/*.tsx", "./src/**/*.ts"]
28-
// }
1+
{
2+
"compilerOptions": {
3+
"declaration": true,
4+
"noImplicitAny": true,
5+
"noEmitOnError": true,
6+
"noUnusedLocals": true,
7+
"module": "commonjs",
8+
"moduleResolution": "node",
9+
"target": "es2015",
10+
"outDir": "lib",
11+
"lib": [
12+
"es2015",
13+
"es2015.collection",
14+
"dom",
15+
"es2015.iterable",
16+
"es2017.object"
17+
],
18+
"types": ["jest"],
19+
"typeRoots": ["./types", "./node_modules/@types"],
20+
"jsx": "react",
21+
"resolveJsonModule": true,
22+
"esModuleInterop": true,
23+
"strictNullChecks": true,
24+
"skipLibCheck": true
25+
},
26+
"include": ["src/**/*", "test/**/*"]
27+
}

0 commit comments

Comments
 (0)