Skip to content

fix(websockets): fix websockets in prod #77

fix(websockets): fix websockets in prod

fix(websockets): fix websockets in prod #77

Triggered via push October 18, 2023 12:20
Status Failure
Total duration 18s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
error: expect(received).toEqual(expected): src/utils/compile-assets/index.test.ts#L46
[ "favicon.ico", + "some-dir", + "favicon.ico.gz" - "favicon.ico.gz", - "some-dir" ] - Expected - 2 + Received + 2 at /home/runner/work/brisa/brisa/src/utils/compile-assets/index.test.ts:46:4
error: expect(received).toBe(expected): src/utils/log-table/index.test.ts#L31
Expected: "[ \u001B[34minfo\u001B[0m ] \n[ \u001B[34minfo\u001B[0m ] name | age\n[ \u001B[34minfo\u001B[0m ] -------------\n[ \u001B[34minfo\u001B[0m ] John | 23 \n[ \u001B[34minfo\u001B[0m ] Jane | 42 " Received: "[ info ] \n[ info ] name | age\n[ info ] -------------\n[ info ] John | 23 \n[ info ] Jane | 42 " at /home/runner/work/brisa/brisa/src/utils/log-table/index.test.ts:31:6
error: expect(received).toEqual(expected): src/utils/compile-files/index.test.ts#L60
[ "pages-client", "_brisa", "pages", + "chunk-75c9edf8d74cab75.js" - "chunk-e209715fdb13aa54.js" ] - Expected - 1 + Received + 1 at /home/runner/work/brisa/brisa/src/utils/compile-files/index.test.ts:60:6
error: expect(received).toEqual(expected): src/utils/compile-files/index.test.ts#L95
[ "pages-client", + "websocket.js", + "api", "layout.js", + "chunk-68a24b4233eeec87.js", "_brisa", + "pages", - "websocket.js", "middleware.js", + "i18n.js" - "api", - "pages", - "i18n.js", - "chunk-e209715fdb13aa54.js" ] - Expected - 5 + Received + 5 at /home/runner/work/brisa/brisa/src/utils/compile-files/index.test.ts:95:4
build
Process completed with exit code 1.
build
Unexpected input(s) 'version', valid inputs are ['bun-version']