File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,15 @@ compiled code in `dist`.
2323
2424Test cases are declared in ` src/test/*.spec.ts ` , and test fixtures live in ` ./tests ` . They can be run with ` npm run test-local ` .
2525
26+ To run a subset of tests:
27+
28+ ```
29+ # Use ava's --match flag to match the name of a test or suite
30+ # https://github.com/avajs/ava/blob/main/docs/05-command-line.md
31+ # Don't forget the * wildcards
32+ npm run test-local -- --match '*esm loader*'
33+ ```
34+
2635Tests are run with AVA, but using a custom wrapper API to enable some TS-friendly features and grouped test suites.
2736
2837The tests ` npm pack ` ts-node into a tarball and ` npm install ` it into ` ./tests/node_modules ` . This makes ` ./tests ` a better testing environment
You can’t perform that action at this time.
0 commit comments