Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
❯ ./node_modules/tap/bin/run.js
test/support/server.js 2> /home/marcus/Source/server-starter/test/support/server.js:1
test/support/server.js 2> Error: listen EINVAL: invalid argument
test/support/server.js 2> at Server.setupListenHandle [as _listen2] (node:net:1293:21)
test/support/server.js 2> at listenInCluster (node:net:1358:12)
test/support/server.js 2> at Server.listen (node:net:1419:5)
test/support/server.js 2> at Object.<anonymous> (/home/marcus/Source/server-starter/test/support/server.js:9:8)
test/support/server.js 2> at Generator.next (<anonymous>)
test/support/server.js 2> Emitted 'error' event on Server instance at:
test/support/server.js 2> at emitErrorNT (node:net:1337:8)
test/support/server.js 2> at processTicksAndRejections (node:internal/process/task_queues:81:21)
test/support/server.js 2> at process.runNextTicks [as _tickCallback] (node:internal/process/task_queues:63:3)
test/support/server.js 2> at /home/marcus/Source/server-starter/node_modules/esm/esm.js:1:34535
test/support/server.js 2> at /home/marcus/Source/server-starter/node_modules/esm/esm.js:1:34176
test/support/server.js 2> at process.<anonymous> (/home/marcus/Source/server-starter/node_modules/esm/esm.js:1:34506)
test/support/server.js 2> at Proxy.<anonymous> (/home/marcus/Source/server-starter/node_modules/esm/esm.js:1:296856)
test/support/server.js 2> at Proxy.<anonymous> (/home/marcus/Source/server-starter/node_modules/esm/esm.js:1:296555)
test/support/server.js 2> at Proxy.<anonymous> (/home/marcus/Source/server-starter/node_modules/esm/esm.js:1:284879)
test/support/server.js 2> at Object.apply (/home/marcus/Source/server-starter/node_modules/esm/esm.js:1:199341) {
test/support/server.js 2> code: 'EINVAL',
test/support/server.js 2> errno: -22,
test/support/server.js 2> syscall: 'listen',
test/support/server.js 2> address: null
test/support/server.js 2> }
FAIL test/support/server.js 745.897ms
command: /usr/bin/node
args:
- -r
- /home/marcus/Source/server-starter/node_modules/esm/esm.js
- test/support/server.js
exitCode: 1
signal: null
PASS test/start.js 14 OK 407.978ms
FAIL TAP
✖ test/support/server.js
test: TAP
env: {}
file: test/support/server.js
timeout: 30000
command: /usr/bin/node
args:
- -r
- /home/marcus/Source/server-starter/node_modules/esm/esm.js
- test/support/server.js
stdio:
- 0
- pipe
- 2
cwd: /home/marcus/Source/server-starter
exitCode: 1
🌈 SUMMARY RESULTS 🌈
FAIL test/support/server.js 745.897ms
command: /usr/bin/node
args:
- -r
- /home/marcus/Source/server-starter/node_modules/esm/esm.js
- test/support/server.js
exitCode: 1
signal: null
Suites: 1 failed, 1 passed, 2 of 2 completed
Asserts: 1 failed, 14 passed, of 15
Time: 2s
-------------------|----------|----------|----------|----------|-------------------|
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s |
-------------------|----------|----------|----------|----------|-------------------|
All files | 83.93 | 60 | 81.25 | 91.67 | |
server-starter.js | 83.93 | 60 | 81.25 | 91.67 | 47,48,51,52 |
-------------------|----------|----------|----------|----------|-------------------|
~/Source/server-starter master ?1 ❯
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment