You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit includes:
* Readme update to use `jasmine` instead of the abandoned `jasmine-node`
* validation_spec updated to use `tmp` to create a temporary file to
validate against; the old logic looks like it was written for a
synchronous runtime, and that's not how things work anymore.
* htmlbook_spec update is just to remove an unneeded `require`
Copy file name to clipboardExpand all lines: readme.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -54,11 +54,11 @@ Below is a list of available options, default value is emphasized.
54
54
There are two suites of tests for this repository. The first is `spec/htmlbook_spec.js` and tests the package for expected output. Run this test with the following:
55
55
56
56
```bash
57
-
$ jasmine-node spec/htmlbook_spec.js
57
+
$ npx jasmine spec/htmlbook_spec.js
58
58
```
59
59
60
60
The second test suite checks to be sure that the file being tested in `htmlbook_spec` are in fact being output to valid HTMLBook. It's no use writing tests that pass unless they pass on valid output. These tests are separated because the validation takes longer.
0 commit comments