Skip to content

Commit 5007116

Browse files
committed
[sveltekit] Fix types
1 parent 39bab45 commit 5007116

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

packages/sveltekit/src/routes/native-form.ssr.test.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ async function renderForm(page: Partial<Page>) {
1414
return form;
1515
}
1616

17-
// TODO: Create an issue about broken SSR
1817
// TODO: Enable this test as SSR will be fixes
18+
// https://github.com/sveltejs/svelte/issues/16832
1919
describe.skip('native form SSR', () => {
2020
beforeEach(() => {
2121
vi.resetModules();
@@ -64,7 +64,8 @@ describe.skip('native form SSR', () => {
6464
path: [],
6565
message: 'validation error message'
6666
}
67-
]
67+
],
68+
updateData: true,
6869
} satisfies ValidatedFormData
6970
}
7071
});
@@ -96,7 +97,8 @@ describe.skip('native form SSR', () => {
9697
path: [],
9798
message: 'validation error message'
9899
}
99-
]
100+
],
101+
updateData: false,
100102
} satisfies ValidatedFormData
101103
}
102104
});

0 commit comments

Comments
 (0)