Skip to content

Commit 444e087

Browse files
committed
remove wait-port dependency
chromedriver can do it on its own now giggio/node-chromedriver#177
1 parent b146eb5 commit 444e087

File tree

3 files changed

+35
-1662
lines changed

3 files changed

+35
-1662
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"babel-eslint": "9.0.0",
6767
"babel-jest": "23.6.0",
6868
"cheerio": "0.22.0",
69-
"chromedriver": "2.42.0",
69+
"chromedriver": "2.46.0",
7070
"clone": "2.1.1",
7171
"coveralls": "3.0.2",
7272
"eslint": "5.4.0",
@@ -95,7 +95,6 @@
9595
"tslint": "5.12.0",
9696
"typescript": "3.1.1",
9797
"typescript-eslint-parser": "21.0.1",
98-
"wait-port": "0.2.2",
9998
"wd": "1.10.3",
10099
"webpack-bundle-analyzer": "3.0.3"
101100
},

test/jest-global-setup.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
'use strict'
22

33
const chromedriver = require('chromedriver')
4-
const waitPort = require('wait-port')
54

65
module.exports = async function globalSetup () {
7-
chromedriver.start()
8-
9-
// https://github.com/giggio/node-chromedriver/issues/117
10-
await waitPort({
11-
port: 9515,
12-
timeout: 1000 * 60 * 2 // 2 Minutes
13-
})
6+
await chromedriver.start([], true)
147
}

0 commit comments

Comments
 (0)