Skip to content

Commit 1a183bf

Browse files
committed
format
1 parent 67994fc commit 1a183bf

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

packages/kit/test/apps/basics/src/routes/no-ssr/after-navigate/+page.svelte

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
import { afterNavigate } from '$app/navigation';
33
44
let count = 0;
5-
let type = '';
5+
let type = '';
66
77
afterNavigate((event) => {
88
count += 1;
9-
type = event.type;
9+
type = event.type;
1010
});
1111
</script>
1212

packages/kit/test/apps/basics/test/cross-platform/client.test.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -257,10 +257,7 @@ test.describe('Navigation lifecycle functions', () => {
257257
);
258258
});
259259

260-
test('onNavigate returned function is only called once', async ({
261-
page,
262-
clicknav
263-
}) => {
260+
test('onNavigate returned function is only called once', async ({ page, clicknav }) => {
264261
await page.goto('/navigation-lifecycle/after-navigate-properly-removed/b');
265262
await clicknav('[href="/navigation-lifecycle/after-navigate-properly-removed/a"]');
266263
await clicknav('[href="/navigation-lifecycle/after-navigate-properly-removed/b"]');

0 commit comments

Comments
 (0)