Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
zjb0807 committed Sep 27, 2024
1 parent 75b6668 commit 3aeb62b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/chopsticks/src/schema/options.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ import { expect, it } from 'vitest'
it('get yargs options from zod schema', () => {
expect(getYargsOptions(configSchema.shape)).toMatchInlineSnapshot(`
{
"addr": {
"choices": undefined,
"demandOption": false,
"description": "Server listening interface",
"type": "string",
},
"allow-unresolved-imports": {
"choices": undefined,
"demandOption": false,
Expand Down Expand Up @@ -77,7 +83,7 @@ it('get yargs options from zod schema', () => {
"port": {
"choices": undefined,
"demandOption": false,
"description": "Port to listen on",
"description": "Server listening port",
"type": "number",
},
"prefetch-storages": {
Expand Down

0 comments on commit 3aeb62b

Please sign in to comment.