Message reactions POC #1893
dev.yml
on: pull_request
audit
20s
format-check
23s
lint
39s
test-typescript
23s
test
1m 51s
build
32s
demo-app
57s
Annotations
22 errors and 7 warnings
format-check
Process completed with exit code 1.
|
test-typescript:
test/core/messages.test.ts#L1
Module '"../../src/core/messages.ts"' has no exported member 'MessageEventPayload'.
|
test-typescript:
test/react/hooks/use-messages.test.tsx#L1
Argument of type 'MessageListener | MessageListenerObject' is not assignable to parameter of type 'MessageListener'.
|
test-typescript:
test/react/hooks/use-messages.test.tsx#L1
Argument of type '{ type: MessageEvents; message: { timestamp: Date; text: string; serial: string; clientId: string; roomId: string; createdAt: Date; action: ChatMessageActions; ... 14 more ...; metadata: {}; }; }' is not assignable to parameter of type 'MessageEventPayload'.
|
test-typescript
Process completed with exit code 2.
|
lint:
src/core/events.ts#L58
Mixing number and string enums can be confusing
|
lint:
src/core/message-events.ts#L1
Missing file extension for "./events"
|
lint:
src/core/message-events.ts#L2
Missing file extension for "./message"
|
lint:
src/core/message-window.ts#L3
Missing file extension for "./events"
|
lint:
src/core/message-window.ts#L4
Missing file extension for "./message"
|
lint:
src/core/message-window.ts#L9
'MessageReaction' is defined but never used
|
lint:
src/core/message-window.ts#L11
'MessageReactionSummaries' is defined but never used
|
lint:
src/core/message-window.ts#L13
Missing file extension for "./message-events"
|
lint:
src/core/message-window.ts#L14
'MessageSubscriptionResponse' is defined but never used
|
lint:
src/core/message-window.ts#L14
Missing file extension for "./messages"
|
demo-app
'MessageEventPayload' is declared but its value is never read.
|
demo-app
'MessageEvents' is declared but its value is never read.
|
demo-app
'PaginatedResult' is declared but its value is never read.
|
demo-app
'deletedMessage' is declared but its value is never read.
|
demo-app
Process completed with exit code 2.
|
test/react/hooks/use-messages.test.tsx > useMessages > should correctly subscribe and unsubscribe to message events:
test/react/hooks/use-messages.test.tsx#L137
TypeError: listener is not a function
❯ test/react/hooks/use-messages.test.tsx:137:46
|
test
Process completed with exit code 1.
|
audit
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
|
test-typescript
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
|