Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
feat: disable phantomJS
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Oct 28, 2016
1 parent f33b74f commit b634684
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
"main": "lib/index.js",
"jsnext:main": "src/index.js",
"scripts": {
"test": "node --max_old_space_size=4096 node_modules/.bin/gulp test:node",
"test:node": "gulp test:node",
"test:browser": "node --max_old_space_size=4096 node_modules/.bin/gulp test:browser",
"test": "PHANTOM=off node --max_old_space_size=4096 node_modules/.bin/gulp test:node",
"test:node": "PHANTOM=off gulp test:node",
"test:browser": "PHANTOM=off node --max_old_space_size=4096 node_modules/.bin/gulp test:browser",
"lint": "aegir-lint",
"build": "gulp build",
"release": "node --max_old_space_size=4096 node_modules/.bin/gulp release",
"release-minor": "node --max_old_space_size=4096 node_modules/.bin/gulp release --type minor",
"release-major": "node --max_old_space_size=4096 node_modules/.bin/gulp release --type major",
"release": "PHANTOM=off node --max_old_space_size=4096 node_modules/.bin/gulp release",
"release-minor": "PHANTOM=off node --max_old_space_size=4096 node_modules/.bin/gulp release --type minor",
"release-major": "PHANTOM=off node --max_old_space_size=4096 node_modules/.bin/gulp release --type major",
"coverage": "gulp coverage",
"coverage-publish": "aegir-coverage publish"
},
Expand Down
4 changes: 2 additions & 2 deletions test/factory/factory-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ function Factory () {
spawnNode()
} else {
ioC = io.connect(sioUrl, sioOptions)
ioC.on('connect_error', callback)
ioC.on('connect', () => {
ioC.once('connect_error', callback)
ioC.once('connect', () => {
sioConnected = true
spawnNode()
})
Expand Down

0 comments on commit b634684

Please sign in to comment.