-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathas-pect.config.mjs
More file actions
26 lines (26 loc) · 814 Bytes
/
as-pect.config.mjs
File metadata and controls
26 lines (26 loc) · 814 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
export default {
/**
* A set of globs passed to the glob package that qualify typescript files for testing.
*/
entries: ["assembly/__tests__/**/*.spec.ts"],
/**
* A set of globs passed to the glob package that quality files to be added to each test.
*/
include: ["assembly/__tests__/**/*.include.ts"],
/**
* A set of regexp that will disclude source files from testing.
*/
disclude: [/node_modules/],
/**
* Add your required AssemblyScript imports here.
*/
async instantiate(memory, createImports, instantiate, binary) {
return instantiate(binary, createImports({ env: { memory } }));
},
/** Enable code coverage. */
// coverage: ["assembly/**/*.ts"],
/**
* Specify if the binary wasm file should be written to the file system.
*/
outputBinary: false,
}