forked from jupytercalpoly/jupyterlab-code-snippets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjest.config.js
23 lines (22 loc) · 781 Bytes
/
jest.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
const func = require('@jupyterlab/testutils/lib/jest-config');
module.exports = func(__dirname);
// const path = require('path');
// module.exports = {
// verbose: false,
// preset: 'ts-jest/presets/js-with-babel',
// transform: {
// '^.+\\.tsx?$': 'ts-jest',
// '^.+\\.(js|jsx)$': 'babel-jest'
// },
// setupFiles: ['<rootDir>/testutils/jest-setup-files.js'],
// moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
// testPathIgnorePatterns: ['/lib/', '/node_modules/'],
// coverageReporters: ['json', 'lcov', 'text', 'html'],
// coverageDirectory: path.join('./', 'coverage'),
// testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$',
// globals: {
// 'ts-jest': {
// tsconfig: './tsconfig.test.json'
// }
// }
// };