Skip to content

fix(messaging)!: Fix mix up messaging in window and custom event messengers #248

fix(messaging)!: Fix mix up messaging in window and custom event messengers

fix(messaging)!: Fix mix up messaging in window and custom event messengers #248

Triggered via pull request September 15, 2024 15:27
Status Failure
Total duration 1m 33s
Artifacts

validate.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
__tests__/browser/page.test.ts > Window Messenger > should send and return messages: packages/messaging/src/window.ts#L106
ReferenceError: window is not defined ❯ Object.addRootListener window.ts:106:7 ❯ Object.onMessage generic.ts:134:37 ❯ __tests__/browser/page.test.ts:41:16
__tests__/browser/page.test.ts > Window Messenger > should not send messages to a messenger with a different namespace: packages/messaging/src/window.ts#L106
ReferenceError: window is not defined ❯ Object.addRootListener window.ts:106:7 ❯ Object.onMessage generic.ts:134:37 ❯ __tests__/browser/page.test.ts:66:16
__tests__/browser/page.test.ts > Window Messenger > should return the first response: packages/messaging/src/window.ts#L106
ReferenceError: window is not defined ❯ Object.addRootListener window.ts:106:7 ❯ Object.onMessage generic.ts:134:37 ❯ __tests__/browser/page.test.ts:92:16
__tests__/browser/page.test.ts > Window Messenger > should throw an error if the responder throws an error: packages/messaging/src/window.ts#L106
ReferenceError: window is not defined ❯ Object.addRootListener window.ts:106:7 ❯ Object.onMessage generic.ts:134:37 ❯ __tests__/browser/page.test.ts:110:16
__tests__/browser/page.test.ts > Window Messenger > should be messaging for the same message type between different instances: packages/messaging/src/window.ts#L106
ReferenceError: window is not defined ❯ Object.addRootListener window.ts:106:7 ❯ Object.onMessage generic.ts:134:37 ❯ __tests__/browser/page.test.ts:126:17
__tests__/browser/page.test.ts > Custom Event Messenger > should send and return messages: packages/messaging/src/custom-event.ts#L110
ReferenceError: window is not defined ❯ Object.addRootListener custom-event.ts:110:7 ❯ Object.onMessage generic.ts:134:37 ❯ __tests__/browser/page.test.ts:41:16
__tests__/browser/page.test.ts > Custom Event Messenger > should not send messages to a messenger with a different namespace: packages/messaging/src/custom-event.ts#L110
ReferenceError: window is not defined ❯ Object.addRootListener custom-event.ts:110:7 ❯ Object.onMessage generic.ts:134:37 ❯ __tests__/browser/page.test.ts:66:16
__tests__/browser/page.test.ts > Custom Event Messenger > should return the first response: packages/messaging/src/custom-event.ts#L110
ReferenceError: window is not defined ❯ Object.addRootListener custom-event.ts:110:7 ❯ Object.onMessage generic.ts:134:37 ❯ __tests__/browser/page.test.ts:92:16
__tests__/browser/page.test.ts > Custom Event Messenger > should throw an error if the responder throws an error: packages/messaging/src/custom-event.ts#L110
ReferenceError: window is not defined ❯ Object.addRootListener custom-event.ts:110:7 ❯ Object.onMessage generic.ts:134:37 ❯ __tests__/browser/page.test.ts:110:16
__tests__/browser/page.test.ts > Custom Event Messenger > should be messaging for the same message type between different instances: packages/messaging/src/custom-event.ts#L110
ReferenceError: window is not defined ❯ Object.addRootListener custom-event.ts:110:7 ❯ Object.onMessage generic.ts:134:37 ❯ __tests__/browser/page.test.ts:126:17
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
checks
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/