Skip to content

Commit

Permalink
maint/build ~ (package) revise 'test:code' to support options via `--…
Browse files Browse the repository at this point in the history
…test-code=...`
  • Loading branch information
rivy committed Aug 12, 2022
1 parent 9980aaa commit 69d8534
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 @@ -129,8 +129,8 @@
"show:deps": "run-s --silent _:show:deps:prod _:show:deps:dev || shx true",
"# test # test package": "",
"test": "run-s --silent lint update:dist && run-p test:*",
"# test:code # test package code (use `--test=...` to pass options to test harness)": "",
"test:code": "run-s --silent +:max-node-8 && cross-env-shell ava $npm_config_test || ( run-s --silent +:min-node-10 && cross-env-shell nyc --silent ava $npm_config_test )",
"# test:code # test package code (use `--test-code=...` to pass options to testing harness)": "",
"test:code": "run-s --silent +:max-node-8 && cross-env-shell ava $npm_config_test_code || ( run-s --silent +:min-node-10 && cross-env-shell nyc --silent ava $npm_config_test_code )",
"# test:types # test for type declaration errors (using `tsd`)": "",
"test:types": "run-s --silent +:max-node-8 && shx echo \"[test:types] WARN Type testing skipped [for NodeJS < v10]\" 1>&2 || tsd",
"# update # update/prepare for distribution [alias: 'dist']": "",
Expand Down

0 comments on commit 69d8534

Please sign in to comment.