. #599
GitHub Actions / Test results
failed
Oct 17, 2023 in 0s
Test results ❌
❌ lib/junit.xml
13 tests were completed in 44s with 12 passed, 1 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Typing indicator test | 3✅ | 1❌ | 30s | |
User test | 9✅ | 14s |
❌ Typing indicator test
Typing indicator test should call the callback with the typing value when a typing signal is received
✅ Typing indicator test should call the callback with the typing value when a typing signal is received
Typing indicator test should not call the callback when the typing signal is from the same user as the recipient
❌ Typing indicator test should not call the callback when the typing signal is from the same user as the recipient
Error: expect(jest.fn()).not.toHaveBeenCalled()
Typing indicator test should handle multiple users starting and stopping typing
✅ Typing indicator test should handle multiple users starting and stopping typing
Typing indicator test should properly handle typing and stopping typing
✅ Typing indicator test should properly handle typing and stopping typing
✅ 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 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
Annotations
Check failure on line 65 in lib/tests/typing-indicator.test.ts
github-actions / Test results
Typing indicator test ► Typing indicator test should not call the callback when the typing signal is from the same user as the recipient ► Typing indicator test should not call the callback when the typing signal is from the same user as the recipient
Failed test found in:
lib/junit.xml
Error:
Error: expect(jest.fn()).not.toHaveBeenCalled()
Raw output
Error: expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: ["testing"]
at Object.toHaveBeenCalled (/home/runner/work/js-chat/js-chat/lib/tests/typing-indicator.test.ts:65:26)
Loading