-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwallaby.js
38 lines (32 loc) · 804 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
module.exports = function(wallaby) {
const babel = wallaby.compilers.babel({
babel: require("@babel/core")
})
return {
files: [
"package.json",
"tsconfig.json",
"src/**/*.ts",
{ pattern: "dist/*.js", instrument: false },
"__tests__/*.ts",
"__tests__/setup.js",
"__tests__/test-pages/*",
"__tests__/**/browser-tests-config.ts"
// { pattern: '__tests__/**/*.test.ts', instrument: false },
],
tests: ["!__tests__/browser/**/*.test.ts", "__tests__/**/*.test.ts"],
env: {
type: "node",
runner: "node"
},
testFramework: "jest",
preprocessors: {
"src/**/*.js": babel,
"__tests__/**/*.js": babel
},
hints: {
ignoreCoverage: /istanbul ignore next/
},
debug: true
}
}