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`.
23
23
24
24
Test cases are declared in ` src/test/*.spec.ts ` , and test fixtures live in ` ./tests ` . They can be run with ` npm run test-local ` .
25
25
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
+
26
35
Tests are run with AVA, but using a custom wrapper API to enable some TS-friendly features and grouped test suites.
27
36
28
37
The 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