Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0880f91

Browse files
committed
Type check in tests
1 parent1576ab4 commit0880f91

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/tests/superValidate.test.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,10 @@ describe('Zod 4', () => {
10951095
message:'Name is not OK'
10961096
});
10971097

1098-
constform=awaitsuperValidate({name:'Test'},zod4(schema));
1098+
// Check if issue #626 is fixed
1099+
typeValidated=SuperValidated<Infer<typeofschema>>;
1100+
1101+
constform:Validated=awaitsuperValidate({name:'Test'},zod4(schema));
10991102

11001103
expect(form.errors).toEqual({
11011104
_errors:['Name is not OK']

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp