Skip to content

Commit a3ceac9

Browse files
committed
start cli tests at port 8080
1 parent 56bdf6e commit a3ceac9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cli.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function tearDown(ps, t) {
4040
}
4141

4242
const getPort = () => new Promise((resolve, reject) => {
43-
portfinder.getPort((err, port) => {
43+
portfinder.getPort({ port: 8080 }, (err, port) => {
4444
if (err) reject(err);
4545
resolve(port);
4646
});
@@ -113,4 +113,4 @@ test('--proxy requires you to specify a protocol', (t) => {
113113
server.on('exit', (code) => {
114114
t.equal(code, 1);
115115
});
116-
});
116+
});

0 commit comments

Comments
 (0)