Skip to content

feat: Improve event builder #4555

feat: Improve event builder

feat: Improve event builder #4555

Triggered via pull request September 13, 2024 08:36
Status Failure
Total duration 4m 0s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
ProteusConversationVerificationStateHandler › onClientRemoved › should change state from DEGRADED to VERIFIED if last unverified client was removed: src/script/conversation/ConversationVerificationStateHandler/Proteus/ProteusStateHandler.test.ts#L173
expect(spy).toHaveBeenCalledWith(...expected) Expected: {"type": "verified"} Received 1 Object { - "type": "verified", + "type": "degraded", }, 2 Object { - "type": "verified", + "type": "degraded", }, 3 Object { - "type": "verified", + "type": "degraded", }, Number of calls: 6 at Object.toHaveBeenCalledWith (src/script/conversation/ConversationVerificationStateHandler/Proteus/ProteusStateHandler.test.ts:173:56)
ProteusConversationVerificationStateHandler › onClientsUpdated › should change state from DEGRADED to VERIFIED if last unverified client was removed by other user: src/script/conversation/ConversationVerificationStateHandler/Proteus/ProteusStateHandler.test.ts#L203
expect(spy).toHaveBeenCalledWith(...expected) Expected: {"type": "verified"} Received 1 Object { - "type": "verified", + "type": "degraded", }, 2 Object { - "type": "verified", + "type": "degraded", }, 3 Object { - "type": "verified", + "type": "degraded", }, Number of calls: 6 at Object.toHaveBeenCalledWith (src/script/conversation/ConversationVerificationStateHandler/Proteus/ProteusStateHandler.test.ts:203:56)
ConversationRepository › clearConversation › clears all the messages from database and local state and re-applies creation message: src/script/conversation/ConversationRepository.test.ts#L1434
expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: ObjectContaining {"conversation": "a9fdb511-6e41-4305-a025-a7cd77a5ca71", "type": "conversation.group-creation"}, undefined Received 1: {"conversation": "331da24c-2b55-4f45-b120-450a130e6b89", "data": {"userIds": []}, "from": undefined, "id": "bf90fa56-f7f5-4796-9559-a853e6769ddf", "qualified_conversation": {"domain": "", "id": "331da24c-2b55-4f45-b120-450a130e6b89"}, "time": "2016-08-04T13:28:33.390Z", "type": "conversation.one2one-creation"}, undefined 2: {"conversation": "a9fdb511-6e41-4305-a025-a7cd77a5ca71", "data": {"allTeamMembers": false, "name": "", "userIds": [{"domain": "test.wire.link", "id": "2d33f9ac-6916-4949-a0e4-ba5519784332"}]}, "from": "", "id": "97c498f8-2db6-466d-a45e-80f9006a100d", "qualified_conversation": {"domain": "test.wire.link", "id": "a9fdb511-6e41-4305-a025-a7cd77a5ca71"}, "time": "1970-01-01T00:00:00.002Z", "type": "conversation.one2one-creation"}, undefined Number of calls: 2 at Object.toHaveBeenCalledWith (src/script/conversation/ConversationRepository.test.ts:1434:43)
test
Process completed with exit code 1.
test: server/Server.ts#L70
Caution: `express` also has a named export `static`. Check if you meant to write `import {static} from 'express'` instead
test: server/Server.ts#L169
Caution: `express` also has a named export `static`. Check if you meant to write `import {static} from 'express'` instead
test: server/Server.ts#L170
Caution: `express` also has a named export `static`. Check if you meant to write `import {static} from 'express'` instead
test: server/Server.ts#L171
Caution: `express` also has a named export `static`. Check if you meant to write `import {static} from 'express'` instead
test: server/Server.ts#L172
Caution: `express` also has a named export `static`. Check if you meant to write `import {static} from 'express'` instead
test: server/Server.ts#L173
Caution: `express` also has a named export `static`. Check if you meant to write `import {static} from 'express'` instead
test: server/Server.ts#L174
Caution: `express` also has a named export `static`. Check if you meant to write `import {static} from 'express'` instead
test: server/Server.ts#L175
Caution: `express` also has a named export `static`. Check if you meant to write `import {static} from 'express'` instead
test: server/Server.ts#L176
Caution: `express` also has a named export `static`. Check if you meant to write `import {static} from 'express'` instead
test: server/Server.ts#L177
Caution: `express` also has a named export `static`. Check if you meant to write `import {static} from 'express'` instead