UNPKG

688 BPlain TextView Raw
1
2Synopsis
3 Test runner for zora spec files
4
5Usage
6 pta [<file> ...]
7
8 Options
9 --only Runs zora in "only mode"
10
11 --reporter, -R One of tap, log. Otherwise it will use the default reporter
12
13 --module-loader "es" or "cjs". Force the way files are loaded: "cjs" will use "require",
14 "es" will use "import". If not specified it is inferred from the package.json
15
16
17 Examples
18 pta
19 pta test/{unit,int}/**/*.js
20
21 If no argument is provided, the CLI will use the following patterns:
22 - **/test.js
23 - **/*.spec.js
24 - **/*.test.js
25 - **/test/**/*.js
26 - **/tests/**/*.js
27 - **/__tests__/**/*.js
28