Skip to content

Commit

Permalink
Fix: lint.test.ts.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@amazon.com>
  • Loading branch information
dblock committed Jun 7, 2024
1 parent 8587cdc commit ae4c918
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/tests/linter/lint.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ const spec = (args: string[]): any => {
}

test('--help', () => {
expect(spec(['--help']).stdout).toContain('Usage: lint [options]')
const output = spec(['--help'])
expect(output.stderr).toEqual('')
expect(output.stdout).toContain('Usage: lint [options]')
})

0 comments on commit ae4c918

Please sign in to comment.