Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

73 include test coverage #95

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions smart-contracts/as-pect-ci.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import config from './as-pect.config.js';
config.coverage = ['assembly/**/*.ts'];
export default config;
6 changes: 3 additions & 3 deletions smart-contracts/as-pect.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ export default {
/**
* A set of globs passed to the glob package that qualify typescript files for testing.
*/
entries: ['assembly/**/__tests__/**/*.spec.ts'],
entries: ['**/assembly/**/*.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'],
// include: ['assembly/**/__tests__/**/*.include.ts'],
/**
* A set of regexp that will disclude source files from testing.
*/
Expand All @@ -20,7 +20,7 @@ export default {
return createMockedABI(memory, createImports, instantiate, binary);
},
/** Enable code coverage. */
// coverage: ["assembly/**/*.ts"],
// coverage: ['assembly/**/*.ts'],
/**
* Specify if the binary wasm file should be written to the file system.
*/
Expand Down
Loading