Browse Source

Move testing libraries to devDependencies

Note that our tests are essentially non existent -- definitely an area for us to improve
master
james hadfield 3 years ago
parent
commit
74d8203122
  1. 6
      package.json
  2. 4
      test/request_urls.js

6
package.json

@ -45,8 +45,6 @@
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-polyfill": "^6.26.0",
"binomial": "^0.2.0",
"chai": "^4.1.2",
"chai-http": "^4.0.0",
"chalk": "^2.4.1",
"color": "^0.7.3",
"compression": "^1.7.3",
@ -89,7 +87,6 @@
"linspace": "^1.0.0",
"lodash": "^4.17.11",
"marked": "^0.6.2",
"mocha": "^5.2.0",
"mousetrap": "^1.6.2",
"node-fetch": "^2.1.2",
"outer-product": "0.0.4",
@ -120,6 +117,9 @@
"yaml-front-matter": "^4.0.0"
},
"devDependencies": {
"chai": "^4.1.2",
"chai-http": "^4.0.0",
"mocha" : "^5.2.0",
"webpack-bundle-analyzer": "^3.0.3"
}
}

4
test/request_urls.js

@ -1,9 +1,7 @@
/* eslint no-unused-expressions: off */
/* HOW TO RUN THESE TESTS?
./node_modules/mocha/bin/mocha
OR
npm run test
npx mocha
*/
const chai = require('chai');

Loading…
Cancel
Save