Skip to content

Commit

Permalink
feat(packages): update mocha-headless-chrome and selenium-standalone (#…
Browse files Browse the repository at this point in the history
…42)

* feat(packages): update mocha-headless-chrome and selenium-standalone

* fix(mocha-headless-chrome): need new require syntax

* test(runner): fix for es5

* test(circle): chrome not actually needed

* test(circle): chrome needed
  • Loading branch information
redgeoff committed Jun 19, 2018
1 parent 5d5e680 commit 5635bba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Expand Up @@ -15,13 +15,13 @@ jobs:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

# Install chrome for headless testing
- run: wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- run: echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
- run: sudo apt-get update
- run: sudo apt-get install -y google-chrome-stable

- run: npm run assert-beautified
- run: npm run jshint
- run: npm run node-full-test
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -46,11 +46,11 @@
"minimist": "^1.2.0",
"mkdirp-promise": "^5.0.1",
"mocha": "^5.0.2",
"mocha-headless-chrome": "^1.8.2",
"mocha-headless-chrome": "^2.0.0",
"request": "^2.83.0",
"sauce-connect-launcher": "^1.2.3",
"saucelabs": "^1.4.0",
"selenium-standalone": "^6.13.0",
"selenium-standalone": "^6.15.1",
"sporks": "^1.0.0",
"wd": "^1.6.0"
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/browser-coverage/test.js
Expand Up @@ -6,7 +6,7 @@ var argv = require('minimist')(process.argv.slice(2));
var Server = require('./server');
var path = require('path');
var utils = require('../utils');
var runner = require('mocha-headless-chrome');
var runner = require('mocha-headless-chrome').runner;
var fs = require('fs-extra');
var path = require('path');
var querystring = require('querystring');
Expand Down

0 comments on commit 5635bba

Please sign in to comment.