Skip to content

Commit b0c38f2

Browse files
committed
remove test for removed feature
1 parent 2547e59 commit b0c38f2

File tree

4 files changed

+0
-39
lines changed

4 files changed

+0
-39
lines changed

packages/kit/test/apps/basics/src/routes/no-router/__layout.svelte

Lines changed: 0 additions & 12 deletions
This file was deleted.

packages/kit/test/apps/basics/src/routes/no-router/a.svelte

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/kit/test/apps/basics/src/routes/no-router/b.svelte

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/kit/test/apps/basics/test/test.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,27 +1140,6 @@ test.describe.parallel('Page options', () => {
11401140
}
11411141
});
11421142

1143-
test('disables router if router=false', async ({ page, clicknav, javaScriptEnabled }) => {
1144-
await page.goto('/no-router/a');
1145-
1146-
if (javaScriptEnabled) {
1147-
await page.click('button');
1148-
expect(await page.textContent('button')).toBe('clicks: 1');
1149-
1150-
await Promise.all([page.click('[href="/no-router/b"]'), page.waitForNavigation()]);
1151-
expect(await page.textContent('button')).toBe('clicks: 0');
1152-
1153-
await page.click('button');
1154-
expect(await page.textContent('button')).toBe('clicks: 1');
1155-
1156-
await clicknav('[href="/no-router/a"]');
1157-
expect(await page.textContent('button')).toBe('clicks: 1');
1158-
1159-
await Promise.all([page.click('[href="/no-router/b"]'), page.waitForNavigation()]);
1160-
expect(await page.textContent('button')).toBe('clicks: 0');
1161-
}
1162-
});
1163-
11641143
test('does not SSR page with ssr=false', async ({ page, javaScriptEnabled }) => {
11651144
await page.goto('/no-ssr');
11661145

0 commit comments

Comments
 (0)