From 3aeb62ba5a5d309cbaab02f00e33efbf95f2dec6 Mon Sep 17 00:00:00 2001 From: zjb0807 Date: Fri, 27 Sep 2024 13:47:18 +0800 Subject: [PATCH] fix test --- packages/chopsticks/src/schema/options.test.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/chopsticks/src/schema/options.test.ts b/packages/chopsticks/src/schema/options.test.ts index a62b600b..8156658a 100644 --- a/packages/chopsticks/src/schema/options.test.ts +++ b/packages/chopsticks/src/schema/options.test.ts @@ -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, @@ -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": {