Skip to content

Commit

Permalink
test: fix running on windows (#1371)
Browse files Browse the repository at this point in the history
  • Loading branch information
simplesmiler authored and ktsn committed Sep 1, 2018
1 parent 7558cc2 commit 0a04c46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test": "npm run lint && npm run test:types && npm run test:unit && npm run test:ssr && npm run test:e2e",
"test:unit": "rollup -c build/rollup.dev.config.js && jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
"test:e2e": "node test/e2e/runner.js",
"test:ssr": "rollup -c build/rollup.dev.config.js && VUE_ENV=server jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
"test:ssr": "rollup -c build/rollup.dev.config.js && cross-env VUE_ENV=server jasmine JASMINE_CONFIG_PATH=test/unit/jasmine.json",
"test:types": "tsc -p types/test",
"release": "bash build/release.sh",
"docs": "vuepress dev docs",
Expand All @@ -45,6 +45,7 @@
"babel-polyfill": "^6.22.0",
"babel-preset-env": "^1.5.1",
"chromedriver": "^2.32.3",
"cross-env": "^5.2.0",
"cross-spawn": "^5.0.1",
"css-loader": "^0.28.7",
"eslint": "^3.19.0",
Expand Down
3 changes: 2 additions & 1 deletion test/e2e/nightwatch.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ module.exports = {
'desiredCapabilities': {
'browserName': 'phantomjs',
'javascriptEnabled': true,
'acceptSslCerts': true
'acceptSslCerts': true,
'phantomjs.binary.path': require('phantomjs-prebuilt').path
}
}
}
Expand Down

0 comments on commit 0a04c46

Please sign in to comment.