-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add more coverage tasks to
deno.json
- Loading branch information
1 parent
b7c76d5
commit 837f26e
Showing
3 changed files
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
}, | ||
"importMap": "./import_map.json", | ||
"tasks": { | ||
"test": "deno test --unstable-http --unstable-webgpu --doc --allow-all --parallel --coverage --trace-leaks --clean", | ||
"test": "deno test --unstable-http --unstable-webgpu --allow-all --parallel --trace-leaks", | ||
"test:with-unsafe-proto": "deno test --unstable-http --unstable-webgpu --unstable-unsafe-proto --doc --allow-all --parallel --coverage --trace-leaks --clean", | ||
"test:browser": "git grep --name-only \"This module is browser compatible.\" | grep -v deno.json | grep -v .github/workflows | grep -v _tools | grep -v encoding/README.md | grep -v media_types/vendor/update.ts | xargs deno check --config browser-compat.tsconfig.json", | ||
"test:node": "(cd _tools/node_test_runner && npm install) && node --import ./_tools/node_test_runner/register_deno_shim.mjs ./_tools/node_test_runner/run_test.mjs", | ||
|
@@ -24,10 +24,13 @@ | |
"typos": "typos -c ./.github/workflows/typos.toml", | ||
"build:crypto": "deno task --cwd crypto/_wasm wasmbuild", | ||
"wasmbuild": "deno run -A jsr:@deno/[email protected] --js-ext mjs --sync", | ||
"cov": "deno coverage --ignore=\"**/*.generated.mjs,**/_test_utils.ts,.github\"", | ||
"cov": "deno task test --coverage --clean --reporter=dot && deno coverage --ignore=\"**/*.generated.mjs,**/_test_utils.ts,.github\"", | ||
"cov:gen": "deno task cov --lcov --output=cov.lcov", | ||
"cov:view": "deno task cov --html", | ||
"ok": "deno task lint && deno fmt --check && deno task test:browser && deno task test" | ||
"cov:mac": "deno task cov:view && open coverage/html/index.html", | ||
"cov:lin": "deno task cov:view && xdg-open coverage/html/index.html", | ||
"cov:win": "deno task cov:view && start coverage/html/index.html", | ||
"ok": "deno task lint && deno fmt --check && deno task test:browser && deno task test --doc" | ||
}, | ||
"exclude": [ | ||
".git", | ||
|