diff --git a/src/common/flags/flags.ts b/src/common/flags/flags.ts index 3d62366a..2ad447de 100644 --- a/src/common/flags/flags.ts +++ b/src/common/flags/flags.ts @@ -31,7 +31,6 @@ export const wait: OptionFlag = Flags.duration({ summary: messages.getMessage('flags.wait.summary'), description: messages.getMessage('flags.wait.description'), defaultValue: 33, - default: Duration.minutes(33), helpValue: '', min: 3, exclusive: ['async'], diff --git a/test/common/flags.test.ts b/test/common/flags.test.ts index 3fd298a8..b2e6bcee 100644 --- a/test/common/flags.test.ts +++ b/test/common/flags.test.ts @@ -212,7 +212,7 @@ describe('waitFlag', () => { const out = await Parser.parse([], { flags: { wait }, }); - expect(out.flags.wait).to.deep.equal(wait.default); + expect(out.flags.wait).to.deep.equal(Duration.minutes(33)); }); it('wait and async flags are mutually exclusive', async () => {