diff --git a/packages/kit/test/apps/basics/src/routes/interactivity/toggle-element/+page.svelte b/packages/kit/test/apps/basics/src/routes/interactivity/toggle-element/+page.svelte index fe7567f42e2f..4a5789bb2de9 100644 --- a/packages/kit/test/apps/basics/src/routes/interactivity/toggle-element/+page.svelte +++ b/packages/kit/test/apps/basics/src/routes/interactivity/toggle-element/+page.svelte @@ -9,11 +9,11 @@ {#if visible} - + remove {:else} - + add {/if} diff --git a/packages/kit/test/apps/basics/src/routes/load/invalidation/route/server/+layout.server.js b/packages/kit/test/apps/basics/src/routes/load/invalidation/route/server/+layout.server.js index 9233c2e29cbf..15151d6ac278 100644 --- a/packages/kit/test/apps/basics/src/routes/load/invalidation/route/server/+layout.server.js +++ b/packages/kit/test/apps/basics/src/routes/load/invalidation/route/server/+layout.server.js @@ -1,4 +1,6 @@ /** @type {import('./$types').LayoutServerLoad} */ export function load({ route }) { - return { route }; + return { + route: { ...route } + }; } diff --git a/packages/kit/test/apps/basics/src/routes/navigation-lifecycle/before-navigate/prevent-navigation/+page.svelte b/packages/kit/test/apps/basics/src/routes/navigation-lifecycle/before-navigate/prevent-navigation/+page.svelte index 6d6a56cc5020..67607376e397 100644 --- a/packages/kit/test/apps/basics/src/routes/navigation-lifecycle/before-navigate/prevent-navigation/+page.svelte +++ b/packages/kit/test/apps/basics/src/routes/navigation-lifecycle/before-navigate/prevent-navigation/+page.svelte @@ -20,5 +20,6 @@ self _blank external + external
{times_triggered} {unload} {navigation_type}
diff --git a/packages/kit/test/apps/basics/src/routes/scroll/top/+page.svelte b/packages/kit/test/apps/basics/src/routes/scroll/top/+page.svelte index cb640b19f3cd..42f08603df04 100644 --- a/packages/kit/test/apps/basics/src/routes/scroll/top/+page.svelte +++ b/packages/kit/test/apps/basics/src/routes/scroll/top/+page.svelte @@ -1,3 +1,4 @@
+

#

#top

diff --git a/packages/kit/test/apps/basics/src/routes/shadowed/dynamic/[slug]/+page.server.js b/packages/kit/test/apps/basics/src/routes/shadowed/dynamic/[slug]/+page.server.js index 66e42cc3b106..4abf93401d59 100644 --- a/packages/kit/test/apps/basics/src/routes/shadowed/dynamic/[slug]/+page.server.js +++ b/packages/kit/test/apps/basics/src/routes/shadowed/dynamic/[slug]/+page.server.js @@ -1,4 +1,4 @@ /** @type {import('./$types').PageServerLoad} */ export function load({ params }) { - return params; + return { ...params }; } diff --git a/packages/kit/test/apps/basics/src/routes/store/data/store-update/same-keys/same-deep/nested/+layout.js b/packages/kit/test/apps/basics/src/routes/store/data/store-update/same-keys/same-deep/nested/+layout.js deleted file mode 100644 index e69de29bb2d1..000000000000 diff --git a/packages/kit/test/apps/basics/test/client.test.js b/packages/kit/test/apps/basics/test/client.test.js index 40a512a65edb..f0e9ead9f209 100644 --- a/packages/kit/test/apps/basics/test/client.test.js +++ b/packages/kit/test/apps/basics/test/client.test.js @@ -917,11 +917,11 @@ test.describe('goto', () => { }); test.describe('untrack', () => { - test('untracks server load function', async ({ page }) => { + test('untracks server load function', async ({ page, clicknav }) => { await page.goto('/untrack/server/1'); expect(await page.textContent('p.url')).toBe('/untrack/server/1'); const id = await page.textContent('p.id'); - await page.click('a[href="/untrack/server/2"]'); + await clicknav('a[href="/untrack/server/2"]'); expect(await page.textContent('p.url')).toBe('/untrack/server/2'); expect(await page.textContent('p.id')).toBe(id); }); diff --git a/packages/migrate/package.json b/packages/migrate/package.json index dfa842436f63..d10a9c96bfab 100644 --- a/packages/migrate/package.json +++ b/packages/migrate/package.json @@ -40,7 +40,7 @@ "vitest": "^1.0.4" }, "scripts": { - "test": "vitest run", + "test": "vitest run --silent", "check": "tsc" } }