File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
dev-only/src/routes/request-abort Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 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);
Original file line number Diff line number Diff 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' ) ;
You can’t perform that action at this time.
0 commit comments