Test: Upgrade mw-node-qunit and use globs

To get cross-shell and OS glob support and fix some of the sinon
deprecation warnings regarding getConfig.

Bug: T168054
Change-Id: Idd6d47c1e63836c8429156cd9030ef9fda4479b1
This commit is contained in:
joakin 2017-06-16 14:12:26 +02:00
parent 98d9415361
commit 9ed1703cf8

View file

@ -3,7 +3,7 @@
"scripts": { "scripts": {
"start": "webpack -w", "start": "webpack -w",
"build": "NODE_ENV=production webpack", "build": "NODE_ENV=production webpack",
"test:node": "mw-node-qunit `find tests/node-qunit -type f -name '*.js'` | tap-dot", "test:node": "mw-node-qunit 'tests/node-qunit/**/*.js' | tap-dot",
"test:dev": "grunt lint && npm run test:node", "test:dev": "grunt lint && npm run test:node",
"test": " npm run check-built-assets && npm run test:dev && npm run doc", "test": " npm run check-built-assets && npm run test:dev && npm run doc",
"doc": "jsdoc -c jsdoc.json", "doc": "jsdoc -c jsdoc.json",
@ -25,7 +25,7 @@
"istanbul": "^0.4.5", "istanbul": "^0.4.5",
"jsdoc": "^3.4.3", "jsdoc": "^3.4.3",
"mock-require": "^2.0.1", "mock-require": "^2.0.1",
"mw-node-qunit": "^2.0.0", "mw-node-qunit": "^2.1.0",
"nodemon": "^1.11.0", "nodemon": "^1.11.0",
"redux": "3.6.0", "redux": "3.6.0",
"redux-thunk": "2.2.0", "redux-thunk": "2.2.0",