Skip to content

Commit 383920f

Browse files
committed
fix test
1 parent 5069029 commit 383920f

File tree

1 file changed

+1
-0
lines changed
  • dev-packages/e2e-tests/test-applications/sveltekit-2/tests

1 file changed

+1
-0
lines changed

dev-packages/e2e-tests/test-applications/sveltekit-2/tests/sdk.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { waitForInitialPageload } from './utils';
44
test.describe('SDK-internal behavior', () => {
55
test("Doesn't inject fetch proxy script for SvelteKit>=2.16.0", async ({ page }) => {
66
await waitForInitialPageload(page, { route: '/client-error' });
7+
// @ts-expect-error - this is the variable the fetch proxy script sets if it would be injected
78
const proxyHandle = await page.waitForFunction(() => globalThis._sentryFetchProxy);
89
expect(proxyHandle).toBeUndefined();
910
});

0 commit comments

Comments
 (0)