fix: navigate before loading page data

This commit is contained in:
2026-10-13 19:56:38 +09:00
parent a82e70047a
commit 26ab6130e0
119 changed files with 12748 additions and 11071 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ function assert(condition: boolean, message: string): asserts condition {
const pageSource = await Deno.readTextFile(
new URL(
"../../src/routes/w/[workspaceId]/settings/repositories/+page.svelte",
"../../src/routes/w/[workspaceId]/settings/repositories/PageContent.svelte",
import.meta.url,
),
);
@@ -34,7 +34,7 @@ test("Repository settings use the scoped list and typed create collection", () =
'method: "POST"',
"repository_key: repositoryKey",
"default_ref: defaultRef || null",
"await invalidateAll()",
"await refreshPageData()",
]
) {
assert(