Skip to content

Commit 6f76b49

Browse files
committed
fix: ci
1 parent 5d9b1ab commit 6f76b49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/server/Server.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,13 +184,14 @@ describe('Server', () => {
184184

185185
server = new Server(compiler, options);
186186

187-
expect(() => server.listen(port + 1)).not.toThrowError();
187+
expect(() => server.listen(9000)).not.toThrowError();
188188
server.close(done);
189189
});
190190

191191
it('should throw an error', (done) => {
192192
const options = {
193193
host: '192.160.21.34',
194+
port,
194195
};
195196

196197
server = new Server(compiler, options);

0 commit comments

Comments
 (0)