1 | 'use strict';
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 | const path = require('path');
|
8 |
|
9 | module.exports = {
|
10 | diff: true,
|
11 | extension: ['js', 'jsx', 'ts', 'tsx'],
|
12 | opts: false,
|
13 |
|
14 | reporter: 'spec',
|
15 | require: [
|
16 | path.resolve(process.cwd(), 'babel.register'),
|
17 | 'jsdom-global/register',
|
18 | 'esm',
|
19 | 'mock-local-storage',
|
20 | ],
|
21 | slow: 75,
|
22 | spec: ['src/**/*.spec.*s*', 'src/**/*.test.*s*', 'tests/unit/**/*.spec.*s*', 'tests/unit/**/*.test.*s*'],
|
23 | timeout: 2000,
|
24 | ui: 'bdd',
|
25 | 'watch-files': this.spec,
|
26 |
|
27 | };
|
28 |
|
29 |
|