DEP 0003 -- Added JavaScript unit tests.
Setup QUnit, added tests, and measured test coverage. Thanks to Nick Sanford for the initial tests.
Showing
Gruntfile.js
0 → 100644
This diff is collapsed.
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
js_tests/tests.html
0 → 100644
| ... | @@ -2,9 +2,13 @@ | ... | @@ -2,9 +2,13 @@ |
| "name": "Django", | "name": "Django", | ||
| "private": true, | "private": true, | ||
| "scripts": { | "scripts": { | ||
| "pretest": "eslint django/" | "pretest": "eslint django/", | ||
| "test": "grunt test --verbose" | |||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "eslint": "^0.22.1" | "eslint": "^0.22.1", | ||
| "grunt": "^0.4.5", | |||
| "grunt-blanket-qunit": "^0.2.0", | |||
| "grunt-cli": "^0.1.13" | |||
| } | } | ||
| } | } |
Please
register
or
sign in
to comment