mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Drop local copy of jasmine, multiple spec files in browser tests
Instead of having our own copy of jasmine in the repository, we use jasmine-core as an npm dependency and load it from there. That reduces the size of the repository and helps keeping up to date. We're not using the transitive dependency on jasmine-core via jasmine, since the jasmine package might change its dependency any day (although unlikely). The katex-spec.js shipped from the server now includes all `test/*[Ss]pec.js` (as matched via glob) so that additional spec files can be created and will automatically get included in the browser-side test suite. The contrib specs are not included at this point. Visit http://0.0.0.0:7936/test/test.html while running server.js to see this in action and verify the lack of failures.
This commit is contained in:
@@ -17,7 +17,9 @@
|
||||
"browserify": "^10.2.4",
|
||||
"clean-css": "~2.2.15",
|
||||
"express": "~3.3.3",
|
||||
"glob": "^5.0.15",
|
||||
"jasmine": "^2.3.2",
|
||||
"jasmine-core": "^2.3.4",
|
||||
"js-yaml": "^3.3.1",
|
||||
"jshint": "^2.5.6",
|
||||
"jspngopt": "^0.1.0",
|
||||
|
Reference in New Issue
Block a user