Skip to content

Commit 0e5b595

Browse files
committed
Test fix
1 parent 4e34f40 commit 0e5b595

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

1616
- `submit` method now falls back to submit, if no support for requestSubmit in browser.
1717
- `isTainted` now handles the type of `$tainted` in generic components.
18-
- `id` option for superForm wasn't used in multiple form scenarios.
18+
- `id` option for superForm (not superValidate) wasn't used in multiple form scenarios.
1919

2020
## [2.12.2] - 2024-03-29
2121

src/routes/(v2)/v2/spa-action-2/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
onUpdate({ result }) {
1414
const status = result.data as NonNullable<ActionData>;
1515
const entry = data.entries.find((e) => e.id == status.posted);
16-
if (entry) entry.name = 'Modified';
16+
if (entry) entry.name = 'Modified ' + status.posted;
1717
}
1818
});
1919
</script>

src/routes/(v2)/v2/spa-action-2/classify/+page.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { classifySchema } from './schema.js';
44

55
export const actions = {
66
default: async ({ request }) => {
7-
await new Promise((res) => setTimeout(res, 1000));
7+
await new Promise((res) => setTimeout(res, 500));
88

99
const form = await superValidate(request, valibot(classifySchema));
1010
console.log(form);

0 commit comments

Comments
 (0)