-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwallaby.js
42 lines (38 loc) · 903 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
40
41
42
module.exports = function (wallaby) {
return {
files: [
// 'src/**/*.js' // adjust if required
// "./server/src/CssService/**/*.ts",
// "./server/src/CssServiceOriginal/**/*.ts",
"package.json",
"./server/src/**/*.js",
"./server/src/**/*.ts",
"./common/**/*.ts",
{pattern: "./server/src/server.ts", load: false, ignore: true, instrument: false},
"!**/*.test.ts"
],
tests: [
//'test/**/*.spec.js' // adjust if required
"./server/src/CssService/test/css/lint.test.ts"
],
compilers: {
'**/*.ts?(x)': wallaby.compilers.typeScript({
module: 'commonjs',
allowJs: true,
moduleResolution: "node",
target: "es2020",
lib: ["es2020"],
})
},
env: {
type: 'node'
},
setup: function (wallaby) {
var mocha = wallaby.testFramework;
//mocha.ui('tdd');
mocha.ui("tdd")
mocha.color(true)
mocha.recursive = true;
}
};
};