Flaky test fix on Types.test.ts (#1244)

Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
This commit is contained in:
Konstantin Konstantinov 2025-12-08 23:40:18 +02:00 • committed by GitHub
commit 4d6c3b8284
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -2285,8 +2285,8 @@ describe.each(zodTestMatrix)('$zodVersionLabel', (entry: ZodMatrixEntry) => {
// Verify we received the notification that was sent while disconnected
expect(allText).toContain('Missed while disconnected');
});
}, 10000);
}, 10000);
});
// Test onsessionclosed callback
describe('StreamableHTTPServerTransport onsessionclosed callback', () => {

View file

@ -178,7 +178,7 @@ describe('Types', () => {
annotations: {
audience: ['user'],
priority: 0.5,
lastModified: new Date().toISOString()
lastModified: mockDate
}
};