diff --git a/src/parse.ts b/src/parse.ts index e95b2d6..910f2dc 100644 --- a/src/parse.ts +++ b/src/parse.ts @@ -217,7 +217,7 @@ export class Parser { + const out = parse([], { + args: [{name: 'baz', default: false}], + }) + expect(out.args).to.deep.include({baz: false}) + }) + it('default as function', () => { const out = parse([], { args: [{name: 'baz', default: () => 'BAZ'}],