test(HH-592): cover realtime timestamp boundaries (#153)
Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
@@ -124,7 +124,7 @@ describe('ActionCableConnector - Copilot Tests', () => {
|
||||
);
|
||||
});
|
||||
|
||||
it('does not apply replayed activity timestamps', async () => {
|
||||
it('does not apply replayed or 1e10-millisecond activity timestamps', async () => {
|
||||
const currentMessage = {
|
||||
id: 42,
|
||||
conversation_id: 7,
|
||||
@@ -148,7 +148,7 @@ describe('ActionCableConnector - Copilot Tests', () => {
|
||||
});
|
||||
await actionCable.onMessageCreated({
|
||||
...currentMessage,
|
||||
updated_at: '2026-08-24T01:00:00Z',
|
||||
updated_at: 10_000_000_000,
|
||||
conversation: { last_activity_at: 50 },
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user