Skip to content

Commit

Permalink
Merge pull request #7 from MaxGraey/update-as
Browse files Browse the repository at this point in the history
update AssemblyScript & as-pect. Refactoring & performance improvments
  • Loading branch information
hugomrdias authored Mar 7, 2020
2 parents 7575ed0 + 10455fd commit 253cdf7
Show file tree
Hide file tree
Showing 16 changed files with 2,481 additions and 4,249 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ package-lock.json
node_modules
dist
yarn.lock
yarn-error.log
8 changes: 7 additions & 1 deletion as-pect.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
/**
* A set of globs passed to the glob package that qualify typescript files for testing.
*/
include: ["assembly/__tests__/**/*.spec.ts"],
include: ["assembly/__tests__/**/*.spec.as.ts"],
/**
* A set of globs passed to the glob package that quality files to be added to each test.
*/
Expand All @@ -17,6 +17,8 @@ module.exports = {
"--binaryFile": ["output.wasm"],
/** To enable wat file output, use the following flag. The filename is ignored, but required by the compiler. */
// "--textFile": ["output.wat"],
/** To select an appropriate runtime, use the --runtime compiler flag. */
"--runtime": ["stub"] // Acceptable values are: full, half, stub (arena), and none
},
/**
* A set of regexp that will disclude source files from testing.
Expand Down Expand Up @@ -64,4 +66,8 @@ module.exports = {
* }
*/
// reporter: new CustomReporter(),
/**
* Specify if the binary wasm file should be written to the file system.
*/
outputBinary: false,
};
Loading

0 comments on commit 253cdf7

Please sign in to comment.