Skip to content

Commit

Permalink
Fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
A5rocks authored Mar 20, 2024
1 parent 0a4e99b commit 6fdba79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/zod-openapi/src/lib/zod-openapi.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ describe('zodOpenapi', () => {
)
)
).toEqual({
type: 'string',
type: ['string'],
pattern: '^\\d+$',
description: 'Foo description',
} satisfies SchemaObject);
Expand All @@ -997,7 +997,7 @@ describe('zodOpenapi', () => {
true
)
).toEqual({
type: 'number',
type: ['number'],
minimum: 0,
maximum: 10,
description: 'Foo description',
Expand Down

0 comments on commit 6fdba79

Please sign in to comment.