mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
Switch from jasmine-node to jasmine itself
Jasmine supports node these days, so there is no longer a need to use a separate (and unmaintained) package to provide such bindings. Making the switch exposed several misuses of the `toMatch` assertion in the existing specification. Most of them were converted to `toEqual`, since `toMatch` is only for matching against regular expressions.
This commit is contained in:
3
Makefile
3
Makefile
@@ -76,8 +76,7 @@ serve:
|
||||
node server.js
|
||||
|
||||
test:
|
||||
./node_modules/.bin/jasmine-node test/katex-spec.js
|
||||
./node_modules/.bin/jasmine-node contrib/auto-render/auto-render-spec.js
|
||||
JASMINE_CONFIG_PATH=test/jasmine.json node_modules/.bin/jasmine
|
||||
|
||||
PERL=perl
|
||||
PYTHON=$(shell python2 --version >/dev/null 2>&1 && echo python2 || echo python)
|
||||
|
Reference in New Issue
Block a user