forked from dsifford/academic-bloggers-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwallaby.js
39 lines (39 loc) · 946 Bytes
/
wallaby.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
module.exports = {
files: [
{
pattern: 'src/**/index.{ts,tsx}',
instrument: false,
load: true,
},
{
pattern: 'src/lib/js/utils/resolvers/*',
instrument: false,
load: true,
},
{
pattern: 'scripts/*.js',
instrument: false,
load: true,
},
{
pattern: 'src/lib/js/utils/{DevTools,TinymceFunctions}.ts',
instrument: false,
load: true,
},
'src/**/*.{ts,tsx}',
'types/**/*.d.ts',
'./package.json',
'!src/**/__tests__/*',
],
tests: [
'src/**/__tests__/*-test.{ts,tsx}',
],
env: {
type: 'node',
runner: 'node',
},
testFramework: 'jest',
setup(wallaby) {
wallaby.testFramework.configure(require('./package.json').jest); // eslint-disable-line
},
};