-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwallaby.js
36 lines (32 loc) · 1.15 KB
/
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
module.exports = function () {
process.env.NODE_PATH = require('path').join(__dirname, '../node_modules');
return {
files: [
'src/**/*.ts',
'src/**/*.hbs',
'templates/**/*',
'test-helpers/**/*.ts',
'src/get-iana-tz-data/tzdata.tar.gz',
'src/extract-tz-data/zone1970-test-file.tab',
'src/create-json-from-templates-and-zone-data/test-zone1970.tab',
'src/create-json-from-ts-function/test.ts',
'src/create-json-from-ts-function/test-dir/testb.ts',
'src/create-json-from-handlebars-templates/test-template.hbs',
'src/create-json-from-handlebars-templates/invalid-test-template.hbs',
{ pattern: 'timezones/**/*', load: false},
{ pattern: 'src/**/*.spec.ts', ignore: true }
],
tests: [
'src/**/*.spec.ts'
],
env: {
type: 'node'
},
testFramework: 'jasmine',
// as the db needs to be reset in between some tests we cannot test in parallel
workers: {
initial: 1,
regular: 1
}
};
};