Skip to content

Commit 9d9be64

Browse files
fix
1 parent 103e8c8 commit 9d9be64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/McpContext.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ describe('McpContext', () => {
4343
it('should update default timeout when cpu throttling changes', async () => {
4444
await withBrowser(async (_response, context) => {
4545
const page = await context.newPage();
46-
const timeoutBefore = page.getDefaultNavigationTimeout();
46+
const timeoutBefore = page.getDefaultTimeout();
4747
context.setCpuThrottlingRate(2);
48-
const timeoutAfter = page.getDefaultNavigationTimeout();
48+
const timeoutAfter = page.getDefaultTimeout();
4949
assert(timeoutBefore < timeoutAfter, 'Timeout was less then expected');
5050
});
5151
});

0 commit comments

Comments
 (0)