Skip to content

feat(ws): add logging to WebSocket connections #1584

feat(ws): add logging to WebSocket connections

feat(ws): add logging to WebSocket connections #1584

Triggered via pull request March 27, 2024 12:45
Status Failure
Total duration 2m 33s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
src/core/ws/WebSocketClientManager.test.ts > adds a client from this runtime to the list of clients: src/core/ws/WebSocketClientManager.test.ts#L33
ReferenceError: crypto is not defined ❯ new WebSocketClientConnection node_modules/.pnpm/@mswjs+interceptors@0.26.13/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClientConnection.ts:44:15 ❯ src/core/ws/WebSocketClientManager.test.ts:33:22
src/core/ws/WebSocketClientManager.test.ts > replays a "send" event coming from another runtime: src/core/ws/WebSocketClientManager.test.ts#L76
ReferenceError: crypto is not defined ❯ new WebSocketClientConnection node_modules/.pnpm/@mswjs+interceptors@0.26.13/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClientConnection.ts:44:15 ❯ src/core/ws/WebSocketClientManager.test.ts:76:22
src/core/ws/WebSocketClientManager.test.ts > replays a "close" event coming from another runtime: src/core/ws/WebSocketClientManager.test.ts#L102
ReferenceError: crypto is not defined ❯ new WebSocketClientConnection node_modules/.pnpm/@mswjs+interceptors@0.26.13/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClientConnection.ts:44:15 ❯ src/core/ws/WebSocketClientManager.test.ts:102:22
src/core/ws/WebSocketClientManager.test.ts > removes the extraneous message listener when the connection closes: src/core/ws/WebSocketClientManager.test.ts#L129
ReferenceError: crypto is not defined ❯ new WebSocketClientConnection node_modules/.pnpm/@mswjs+interceptors@0.26.13/node_modules/@mswjs/interceptors/src/interceptors/WebSocket/WebSocketClientConnection.ts:44:15 ❯ src/core/ws/WebSocketClientManager.test.ts:129:22
build
Process completed with exit code 1.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, pnpm/action-setup@v2, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
No files were found with the provided path: test/browser/test-results. No artifacts will be uploaded.