From 4fbdca5b78b22ed8c877e5fc8862fcdadfad7e17 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Wed, 27 Nov 2024 08:47:42 -0800 Subject: [PATCH] chore: remove unnecessary awaits --- .../kit/test/apps/basics/test/cross-platform/client.test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/kit/test/apps/basics/test/cross-platform/client.test.js b/packages/kit/test/apps/basics/test/cross-platform/client.test.js index 1b13a6d46e31..2b6da59b9cc2 100644 --- a/packages/kit/test/apps/basics/test/cross-platform/client.test.js +++ b/packages/kit/test/apps/basics/test/cross-platform/client.test.js @@ -633,13 +633,13 @@ test.describe('Prefetching', () => { await page.goto('/routing/hashes/a'); await clicknav('[href="#preload"]'); - await expect(page.url()).toBe(`${baseURL}/routing/hashes/a#preload`); + expect(page.url()).toBe(`${baseURL}/routing/hashes/a#preload`); await clicknav('[href="/routing/hashes/a"]'); - await expect(page.url()).toBe(`${baseURL}/routing/hashes/a`); + expect(page.url()).toBe(`${baseURL}/routing/hashes/a`); await clicknav('[href="#preload"]'); - await expect(page.url()).toBe(`${baseURL}/routing/hashes/a#preload`); + expect(page.url()).toBe(`${baseURL}/routing/hashes/a#preload`); }); test('does not rerun load on calls to duplicate preload hash route', async ({ app, page }) => {