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:
Martin von Gagern
2015-11-10 12:29:00 +01:00
parent 21a26b807c
commit 92034c17f9
4 changed files with 97 additions and 88 deletions

View File

@@ -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)