-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathwallaby.js
More file actions
34 lines (33 loc) · 984 Bytes
/
wallaby.js
File metadata and controls
34 lines (33 loc) · 984 Bytes
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
module.exports = function (wallaby) {
return {
files: [
"app/**/*.{ts,tsx,xml,json,json5}",
"!app/**/*.spec.ts",
"locale/**/*.csv",
"sample data/**/*.*",
{ pattern: "package.json", load: false, instrument: false },
// Most of the time, just saying binary:true was enough
// but then sometimes the reading of the xlsx would fail
// anyways for some file, as if the cached version was corrupt.
// For now, this essentially stops wallaby from caching.
// Later... problem came back, so maybe this wasn't really the answer?
{
pattern: "sample data/*.xlsx",
load: false,
instrument: false,
binary: true
}
],
tests: ["app/**/*spec.ts"],
env: {
type: "node",
params: {
env: "NODE_ENV=test"
}
},
testFramework: "vitetest",
compilers: {
"**/*.ts?(x)": wallaby.compilers.babel()
}
};
};