Skip to content

refactor: combine react and core packages into one #1901

refactor: combine react and core packages into one

refactor: combine react and core packages into one #1901

Triggered via pull request January 12, 2025 17:46
Status Failure
Total duration 1m 56s
Artifacts

dev.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 7 warnings
test-typescript: src/react/hooks/use-presence-listener.ts#L1
Expected 1 arguments, but got 0.
test-typescript: src/react/hooks/use-presence-listener.ts#L1
Expected 1 arguments, but got 0.
test-typescript: src/react/hooks/use-presence-listener.ts#L1
Type 'undefined' is not assignable to type 'Timeout'.
test-typescript: src/react/hooks/use-presence-listener.ts#L1
Type 'undefined' is not assignable to type 'Timeout'.
test-typescript: src/react/hooks/use-presence-listener.ts#L1
Type 'undefined' is not assignable to type 'Timeout'.
test-typescript
Process completed with exit code 2.
lint: src/react/hooks/use-presence-listener.ts#L121
Unnecessary conditional, value is always truthy
lint: src/react/hooks/use-presence-listener.ts#L141
Unnecessary conditional, value is always truthy
lint: src/react/hooks/use-presence-listener.ts#L176
Unnecessary conditional, value is always truthy
lint
Process completed with exit code 1.
test/core/messages.integration.test.ts > messages integration > should be able to send and receive chat messages: test/core/messages.integration.test.ts#L31
Error: Timed out waiting for messages ❯ Timeout._onTimeout test/core/messages.integration.test.ts:31:14
test/core/messages.integration.test.ts > messages integration > should be able to delete and receive deletion messages: test/core/messages.integration.test.ts#L31
Error: Timed out waiting for messages ❯ Timeout._onTimeout test/core/messages.integration.test.ts:31:14
test/core/messages.integration.test.ts > messages integration > should be able to update and receive update messages: test/core/messages.integration.test.ts#L31
Error: Timed out waiting for messages ❯ Timeout._onTimeout test/core/messages.integration.test.ts:31:14
test/react/hooks/use-messages.integration.test.tsx > useMessages > should send messages correctly: test/react/hooks/use-messages.integration.test.tsx#L27
Error: Timed out waiting for messages ❯ Timeout._onTimeout test/react/hooks/use-messages.integration.test.tsx:27:14
test/react/hooks/use-messages.integration.test.tsx > useMessages > should delete messages correctly: test/react/hooks/use-messages.integration.test.tsx#L27
Error: Timed out waiting for messages ❯ Timeout._onTimeout test/react/hooks/use-messages.integration.test.tsx:27:14
test/react/hooks/use-messages.integration.test.tsx > useMessages > should update messages correctly: test/react/hooks/use-messages.integration.test.tsx#L27
Error: Timed out waiting for messages ❯ Timeout._onTimeout test/react/hooks/use-messages.integration.test.tsx:27:14
test/react/hooks/use-messages.integration.test.tsx > useMessages > should receive messages on a subscribed listener: test/react/hooks/use-messages.integration.test.tsx#L27
Error: Timed out waiting for messages ❯ Timeout._onTimeout test/react/hooks/use-messages.integration.test.tsx:27:14
test/react/hooks/use-messages.integration.test.tsx > useMessages > should reset getPreviousMessages if the listener becomes undefined then redefined: test/react/hooks/use-messages.integration.test.tsx#L346
AssertionError: expected undefined to be 'You underestimate my power' // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body /> </html> - Expected: "You underestimate my power" + Received: undefined ❯ waitFor.timeout test/react/hooks/use-messages.integration.test.tsx:346:37 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
test/react/hooks/use-messages.integration.test.tsx > useMessages > should persist the getPreviousMessages subscription point across renders, if listener remains defined: test/react/hooks/use-messages.integration.test.tsx#L483
AssertionError: expected undefined to be 'You underestimate my power' // Object.is equality Ignored nodes: comments, script, style <html> <head /> <body /> </html> - Expected: "You underestimate my power" + Received: undefined ❯ waitFor.timeout test/react/hooks/use-messages.integration.test.tsx:483:37 ❯ runWithExpensiveErrorDiagnosticsDisabled node_modules/@testing-library/dom/dist/config.js:47:12 ❯ checkCallback node_modules/@testing-library/dom/dist/wait-for.js:124:77 ❯ Timeout.checkRealTimersCallback node_modules/@testing-library/dom/dist/wait-for.js:118:16
audit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test-typescript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
format-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
demo-app
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636