Skip to content

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

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

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

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

validate.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
checks
Process completed with exit code 1.
__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
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/
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/
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/