Skip to content

Commit

Permalink
chore(scripts): add ava --timeout 2m tests/*-ava.mjs tests/*-ava-node…
Browse files Browse the repository at this point in the history
….mjs && ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs (scripts.test:ava)

chore(scripts): add c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp (scripts.cover)
  • Loading branch information
arlac77 committed Sep 11, 2023
1 parent 7aef309 commit b5bdddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"start": "vite",
"test": "npm run test:ava && npm run test:cafe",
"test:cafe": "testcafe $BROWSER:headless tests/cafe/*-cafe.mjs --esm -s build/test --page-request-timeout 5000 --app-init-delay 8000 --app vite",
"test:ava": "ava --timeout 2m tests/*-ava.mjs tests/*-ava-node.mjs",
"cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 2m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
"test:ava": "ava --timeout 2m tests/*-ava.mjs tests/*-ava-node.mjs && ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs",
"cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp",
"docs": "documentation readme --section=API ./src/**/*.mjs",
"lint": "npm run lint:docs",
"lint:docs": "documentation lint ./src/**/*.mjs",
Expand Down

0 comments on commit b5bdddb

Please sign in to comment.