Skip to content

Commit

Permalink
fix tests & formatting on windows; closes #3643
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jan 17, 2019
1 parent e2d4929 commit 635ecd1
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 100 deletions.
164 changes: 70 additions & 94 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package-scripts.js
Expand Up @@ -217,26 +217,26 @@ module.exports = {
description: 'Run browser tests'
},
unit: {
script: 'NODE_PATH=. karma start --single-run',
script: 'cross-env NODE_PATH=. karma start --single-run',
description: 'Run browser unit tests'
},
bdd: {
script: 'MOCHA_TEST=bdd nps test.browser.unit',
script: 'cross-env MOCHA_TEST=bdd nps test.browser.unit',
description: 'Run browser BDD interface tests',
hiddenFromHelp: true
},
tdd: {
script: 'MOCHA_TEST=tdd nps test.browser.unit',
script: 'cross-env MOCHA_TEST=tdd nps test.browser.unit',
description: 'Run browser TDD interface tests',
hiddenFromHelp: true
},
qunit: {
script: 'MOCHA_TEST=qunit nps test.browser.unit',
script: 'cross-env MOCHA_TEST=qunit nps test.browser.unit',
description: 'Run browser QUnit interface tests',
hiddenFromHelp: true
},
esm: {
script: 'MOCHA_TEST=esm nps test.browser.unit',
script: 'cross-env MOCHA_TEST=esm nps test.browser.unit',
description: 'Run browser ES modules support test',
hiddenFromHelp: true
}
Expand Down
4 changes: 3 additions & 1 deletion package.json
Expand Up @@ -517,6 +517,7 @@
"chai": "^4.2.0",
"coffee-script": "^1.10.0",
"coveralls": "^3.0.2",
"cross-env": "^5.2.0",
"cross-spawn": "^6.0.5",
"eslint": "^5.10.0",
"eslint-config-prettier": "^3.3.0",
Expand Down Expand Up @@ -582,7 +583,8 @@
},
"prettier": {
"singleQuote": true,
"bracketSpacing": false
"bracketSpacing": false,
"endOfLine": "auto"
},
"yargs": {
"combine-arrays": true,
Expand Down

0 comments on commit 635ecd1

Please sign in to comment.