Skip to content

Commit

Permalink
test: use common.PORT instead of hardcoded port number
Browse files Browse the repository at this point in the history
PR-URL: #39298
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Trott committed Jul 10, 2021
1 parent ff975fe commit debdc1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-debugger-invalid-args.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const { createServer } = require('net');

// Launch w/ invalid host:port.
{
const cli = startCLI(['localhost:914']);
const cli = startCLI([`localhost:${common.PORT}`]);
cli.quit()
.then((code) => {
assert.match(
Expand Down

0 comments on commit debdc1d

Please sign in to comment.