Skip to content

Commit 43ad470

Browse files
committed
fixed test
1 parent 940e1dd commit 43ad470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/types/string.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe('string', () => {
1010

1111
it('supports minLength / maxLength on string', () => {
1212
expectSchema(
13-
[z.string().min(5).max(10).openapi({ refId: 'minMaxLengthString' })],
13+
[registerSchema('minMaxLengthString', z.string().min(5).max(10))],
1414
{
1515
minMaxLengthString: { type: 'string', minLength: 5, maxLength: 10 },
1616
}

0 commit comments

Comments
 (0)