forked from WebAssemblyOS/wasmos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
as-pect.config.js
33 lines (33 loc) · 912 Bytes
/
as-pect.config.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
module.exports = {
/**
* A set of globs passed to the glob package that qualify typescript files for testing.
*/
include: [
"packages/*/assembly/__tests__/**/*.spec.ts"
],
/**
* A set of globs passed to the glob package that quality files to be added to each test.
*/
add: ["packages/assemblyscript/assembly/__tests__/wasa.include.ts"],
/**
* All the compiler flags needed for this test suite. Make sure that a binary file is output.
*/
flags: {
"--validate": [],
"--debug": [],
/** This is required. Do not change this. */
"--binaryFile": ["output.wasm"]
},
/**
* A set of regexp that will disclude source files from testing.
*/
disclude: [/packages\/.*node_module/i],
/**
* Add your required AssemblyScript imports here.
*/
imports: {}
/**
* Add a custom reporter here if you want one
*/
// reporter: new CustomReporter(),
};