Skip to content

Commit 038ec8a

Browse files
committed
fix: reduce timeout duration in request-abort test
1 parent 5ec2276 commit 038ec8a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/kit/test/apps/dev-only/src/routes/request-abort/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
fetch('/request-abort', { headers: { accept: 'application/json' } }).then(
1212
async (r) => (result = await r.json())
1313
);
14-
}, 100);
14+
}, 50);
1515
}
1616
1717
onMount(test_abort);

packages/kit/test/apps/options/test/test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ test.describe('Async', () => {
277277
`${baseURL}/`
278278
);
279279
expect(await page.locator('[data-testid="fetch1-response"]').textContent()).toContain('root');
280+
280281
// fetch to root without trailing slash should be relative
281282
expect(await page.locator('[data-testid="fetch2-url"]').textContent()).toBeFalsy();
282283
expect(await page.locator('[data-testid="fetch2-response"]').textContent()).toBe('relative');

0 commit comments

Comments
 (0)