Flaky test fix on Types.test.ts (#1244)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
This commit is contained in:
parent
fbf5fc9b02
commit
4d6c3b8284
2 changed files with 3 additions and 3 deletions
|
|
@ -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', () => {
|
||||
|
|
|
|||
|
|
@ -178,7 +178,7 @@ describe('Types', () => {
|
|||
annotations: {
|
||||
audience: ['user'],
|
||||
priority: 0.5,
|
||||
lastModified: new Date().toISOString()
|
||||
lastModified: mockDate
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue