Skip to content

Commit f971b63

Browse files
committed
Add a wallaby config for the unit tests
1 parent f042016 commit f971b63

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

wallaby.js

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module.exports = (wallaby) => {
2+
return {
3+
files: [
4+
'src/**/*.ts',
5+
'test/**/*.ts',
6+
'!test/**/*.spec.ts'
7+
],
8+
tests: [
9+
'test/unit/**/*.spec.ts'
10+
],
11+
12+
workers: {
13+
initial: 1,
14+
regular: 1,
15+
restart: true
16+
},
17+
18+
testFramework: 'mocha',
19+
env: {
20+
type: 'node'
21+
}
22+
};
23+
};

0 commit comments

Comments
 (0)