feat(lib): organization changes #762
GitHub Actions / Test results
failed
Nov 15, 2024 in 1s
22 passed, 1 failed and 0 skipped
❌ lib/junit.xml
23 tests were completed in 27s with 22 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
MessageDraft | 11✅ | 14s | ||
User test | 11✅ | 1❌ | 13s |
✅ MessageDraft
MessageDraft should mention 2 users
✅ MessageDraft should mention 2 users
MessageDraft should mention 2 - 3 users next to each other
✅ MessageDraft should mention 2 - 3 users next to each other
MessageDraft should mention 2 - 3 users with words between second and third
✅ MessageDraft should mention 2 - 3 users with words between second and third
MessageDraft should reference 2 channels
✅ MessageDraft should reference 2 channels
MessageDraft should reference 2 channels and 2 mentions
✅ MessageDraft should reference 2 channels and 2 mentions
MessageDraft should reference 2 channels and 2 mentions with commas
✅ MessageDraft should reference 2 channels and 2 mentions with commas
MessageDraft should reference 2 channels and 2 mentions with commas - another variation
✅ MessageDraft should reference 2 channels and 2 mentions with commas - another variation
MessageDraft should add 2 text links and 2 plain links
✅ MessageDraft should add 2 text links and 2 plain links
MessageDraft should mix every type of message part
✅ MessageDraft should mix every type of message part
MessageDraft should mix every type of message part - variant 2
✅ MessageDraft should mix every type of message part - variant 2
MessageDraft should reference 3 channels and 3 mentions with no order
✅ MessageDraft should reference 3 channels and 3 mentions with no order
❌ User test
User test Should automatically create chat user while initializing
✅ User test Should automatically create chat user while initializing
User test Should be able to create and fetch user
✅ User test Should be able to create and fetch user
User test Should be able to update user
✅ User test Should be able to update user
User test Should be able to delete user
✅ User test Should be able to delete user
User test Should stream user updates and invoke the callback
✅ User test Should stream user updates and invoke the callback
User test should update the user even if they're a member of a particular channel
❌ User test should update the user even if they're a member of a particular channel
Error: expect(received).toBe(expected) // Object.is equality
User test should update the user even if they're not a member of a particular channel
✅ User test should update the user even if they're not a member of a particular channel
User test should report a user
✅ User test should report a user
User test Should be able to create, fetch, and validate multiple users
✅ User test Should be able to create, fetch, and validate multiple users
User test Should fail to update a non-existent user
✅ User test Should fail to update a non-existent user
User test Should fail to delete a non-existent user
✅ User test Should fail to delete a non-existent user
User test Should apply filter to 'getMemberships'
✅ User test Should apply filter to 'getMemberships'
Annotations
Check failure on line 86 in lib/tests/user.test.ts
github-actions / Test results
User test ► User test should update the user even if they're a member of a particular channel ► User test should update the user even if they're a member of a particular channel
Failed test found in:
lib/junit.xml
Error:
Error: expect(received).toBe(expected) // Object.is equality
Raw output
Error: expect(received).toBe(expected) // Object.is equality
Expected: "update number 1"
Received: "update number 2"
at Object.toBe (/home/runner/work/js-chat/js-chat/lib/tests/user.test.ts:86:27)
Loading