Skip to content

Commit

Permalink
chore: deflake reload test (#8550)
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm authored Jan 16, 2023
1 parent 5e12d3e commit 9a6e4e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/kit/test/apps/basics/test/client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1156,12 +1156,12 @@ test.describe('data-sveltekit attributes', () => {
page.on('request', (r) => requests.push(r.url()));

await page.goto('/data-sveltekit/reload');
await page.locator('#one').click();
await clicknav('#one');
expect(requests).toContain(`${baseURL}/data-sveltekit/reload/target`);

requests.length = 0;
await page.goto('/data-sveltekit/reload');
await page.locator('#two').click();
await clicknav('#two');
expect(requests).toContain(`${baseURL}/data-sveltekit/reload/target`);

requests.length = 0;
Expand Down

0 comments on commit 9a6e4e7

Please sign in to comment.