tryorama icon indicating copy to clipboard operation
tryorama copied to clipboard

Tryorama tests fail because of connection errors even after all tests succeeded

Open guillemcordoba opened this issue 10 months ago • 8 comments

In a sample app scaffolded from the open-dev templates, when I run the tryorama tests, they all pass, but the process itself errors out because of weird websocket connection errors:

13:07:38 [Tryorama - Local Conductor] info: # lair-keystore connection_url # unix:///tmp/ggliK4NGrgRK66STI5l8f/ks/socket?k=m4Yi_KoRd0KTr_VRFnkePCi_IseNesr7GIOe48zmBn8 #
# lair-keystore running #


stdout | src/forum/posts/all-posts.test.ts > create a Post and get all posts
13:07:43 [Tryorama - Local Conductor] info: # lair-keystore connection_url # unix:///tmp/SE1tKnH44Ng5GGIOpDN4u/ks/socket?k=3g6QVzsXMvegy7I5n_7VUzMM8Jr2ezJbZ4gFQL4GtSM #
# lair-keystore running #

13:07:43 [Tryorama - Local Conductor] info: # lair-keystore connection_url # unix:///tmp/Yb1-l5G9KlRHOIGepdvyP/ks/socket?k=fWDEZiz1QSZIcd0Wz37izk0t0tBgTHYBQGAW_MlcPzE #
# lair-keystore running #


stdout | src/forum/posts/all-posts.test.ts > create a Post and get all posts
13:07:43 [Tryorama - Local Conductor] info:
Conductor ready.


 ✓ src/forum/posts/comment.test.ts (4) 83154ms
 ✓ src/forum/posts/post.test.ts (4) 53184ms
 ✓ src/forum/posts/like.test.ts (3) 19201ms
 ✓ src/forum/posts/comment-to-likes.test.ts (1) 13881ms
 ✓ src/forum/posts/post-to-likes.test.ts (1) 13894ms
 ✓ src/forum/posts/certificate-to-likes.test.ts (1) 13083ms
 ✓ src/forum/posts/certificate.test.ts (2) 25732ms
 ✓ src/forum/posts/creator-to-posts.test.ts (1) 3816ms
 ✓ src/forum/posts/posts-by-author-entry-hash.test.ts (1) 13850ms
 ✓ src/forum/posts/posts-by-author.test.ts (1) 13856ms
 ✓ src/forum/posts/all-posts-entry-hash.test.ts (1) 4804ms
 ✓ src/forum/posts/all-posts.test.ts (1) 13861ms

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Errors ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

Vitest caught 25 unhandled errors during the test run.
This might cause false positive tests. Resolve unhandled errors to make sure your tests are not affected.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30001/ - Error: connect ECONNREFUSED 127.0.0.1:30001
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/post.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create and update Post". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30001/ - Error: connect ECONNREFUSED 127.0.0.1:30001
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/comment-to-likes.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "link a Comment to a Like". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30004/ - Error: connect ECONNREFUSED 127.0.0.1:30004
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/post-to-likes.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "link a Post to a Like". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30006/ - Error: connect ECONNREFUSED 127.0.0.1:30006
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/post-to-likes.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "link a Post to a Like". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30006/ - Error: connect ECONNREFUSED 127.0.0.1:30006
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/certificate-to-likes.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "link a Certificate to a Like". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30006/ - Error: connect ECONNREFUSED 127.0.0.1:30006
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/certificate-to-likes.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "link a Certificate to a Like". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30006/ - Error: connect ECONNREFUSED 127.0.0.1:30006
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/certificate-to-likes.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "link a Certificate to a Like". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30001/ - Error: connect ECONNREFUSED 127.0.0.1:30001
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/certificate-to-likes.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "link a Certificate to a Like". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30001/ - Error: connect ECONNREFUSED 127.0.0.1:30001
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/certificate.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create and read Certificate". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30001/ - Error: connect ECONNREFUSED 127.0.0.1:30001
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/certificate.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create and read Certificate". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30001/ - Error: connect ECONNREFUSED 127.0.0.1:30001
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/certificate.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create and read Certificate". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30003/ - Error: connect ECONNREFUSED 127.0.0.1:30003
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/certificate.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create and read Certificate". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30006/ - Error: connect ECONNREFUSED 127.0.0.1:30006
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/certificate.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create and read Certificate". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30003/ - Error: connect ECONNREFUSED 127.0.0.1:30003
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/certificate.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create and read Certificate". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30001/ - Error: connect ECONNREFUSED 127.0.0.1:30001
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/creator-to-posts.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "link a Creator to a Post". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30006/ - Error: connect ECONNREFUSED 127.0.0.1:30006
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/posts-by-author-entry-hash.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create a Post and get posts by author entry hash". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30001/ - Error: connect ECONNREFUSED 127.0.0.1:30001
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/posts-by-author.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create a Post and get posts by author". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30003/ - Error: connect ECONNREFUSED 127.0.0.1:30003
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/posts-by-author.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create a Post and get posts by author". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30003/ - Error: connect ECONNREFUSED 127.0.0.1:30003
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/posts-by-author.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create a Post and get posts by author". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30000/ - Error: connect ECONNREFUSED 127.0.0.1:30000
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/posts-by-author.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create a Post and get posts by author". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30006/ - Error: connect ECONNREFUSED 127.0.0.1:30006
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/posts-by-author.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create a Post and get posts by author". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30000/ - Error: connect ECONNREFUSED 127.0.0.1:30000
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/all-posts.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create a Post and get all posts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30005/ - Error: connect ECONNREFUSED 127.0.0.1:30005
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/all-posts.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create a Post and get all posts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
internal_error: Conductor returned an error while using a ConductorApi: CellMissing(CellId(DnaHash(uhC0kpWI_MkdEp0s7wGPCWyJnWfs4kVAMbmJ9y10f33LEtCiSywYc), AgentPubKey(uhCAkISDXd8cXhfB5lBQCovQISdM5S9n4U24SN6lOtE8foWN61EjS)))
 ❯ catchError ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/common.js:38:23
 ❯ processTicksAndRejections node:internal/process/task_queues:95:5
 ❯ AppWebsocket.callZome ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/common.js:13:22
 ❯ fetch ../node_modules/.pnpm/@[email protected]_@[email protected]/node_modules/@holochain-open-dev/stores/src/holochain.ts:582:29

This error originated in "src/forum/posts/all-posts.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create a Post and get all posts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Unhandled Rejection ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
ConnectionError: could not connect to Holochain Conductor API at ws://127.0.0.1:30006/ - Error: connect ECONNREFUSED 127.0.0.1:30006
 ❯ WebSocket.socket.onerror ../node_modules/.pnpm/@[email protected]/node_modules/@holochain/client/lib/api/client.js:135:28
 ❯ callListener ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:290:14
 ❯ WebSocket.onError ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/event-target.js:230:9
 ❯ WebSocket.emit node:events:518:28
 ❯ emitErrorAndClose ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:1033:13
 ❯ ClientRequest.<anonymous> ../node_modules/.pnpm/[email protected]/node_modules/ws/lib/websocket.js:880:5
 ❯ ClientRequest.emit node:events:518:28
 ❯ Socket.socketErrorListener node:_http_client:495:9
 ❯ Socket.emit node:events:518:28
 ❯ emitErrorNT node:internal/streams/destroy:169:8

This error originated in "src/forum/posts/all-posts.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "create a Post and get all posts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯

 Test Files  12 passed (12)
      Tests  21 passed (21)
     Errors  25 errors
   Start at  13:03:24
   Duration  272.67s (transform 73ms, setup 0ms, collect 246ms, tests 272.32s, environment 0ms, prepare 33ms)

/tmp/forum-lit-open-dev/tests:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  tests@ test: `vitest run`
Exit status 1

forum-lit-open-dev on  main [!+?]  🦀 ❄️  nix-shell-env took 4m33s

Tryorama v0.16.0-dev.2

guillemcordoba avatar Apr 10 '24 11:04 guillemcordoba