diff --git a/src/parse.ts b/src/parse.ts index 7619702..ff85dd1 100644 --- a/src/parse.ts +++ b/src/parse.ts @@ -130,7 +130,7 @@ export class Parser { + const out = parse(['-'], { + args: [{name: 'myarg'}], + }) + expect(out.argv).to.deep.equal(['-']) + }) }) describe('args - no args passed in, with defaults', () => {