We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1df9ce3 + fb1f2ec commit be4fa32Copy full SHA for be4fa32
README.md
@@ -35,7 +35,7 @@ $ npm install doctest
35
Test a module via JavaScript API:
36
37
```javascript
38
-> doctest ('lib/temperature.js', {})
+> doctest ({}) ('lib/temperature.js')
39
```
40
41
Test a module via command-line interface:
@@ -57,7 +57,7 @@ The exit code is 0 if all tests pass, 1 otherwise.
57
Specify module system via JavaScript API:
58
59
60
-> doctest ('path/to/amd/module.js', {module: 'amd'})
+> doctest ({module: 'amd'}) ('path/to/amd/module.js')
61
62
63
Specify module system via command-line interface:
0 commit comments