Skip to content

Commit

Permalink
Flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
robsimmons committed Nov 28, 2024
1 parent d6d8ff7 commit d435180
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,7 @@ test('Inputs and term validation', () => {
outs: [],
});

expect(testCli(['/dev/null', '-a', '/'])).toStrictEqual({
code: 1,
errs: [`Invalid JSON in command-line fact #1: Unexpected token '/', "/" is not valid JSON`],
outs: [],
});
expect(testCli(['/dev/null', '-a', '/']).code).toBe(1);

expect(testCli(['/dev/null', '-a', { name: 'p' }, '-a', { name: 'p', args: [1] }])).toStrictEqual(
{
Expand Down

0 comments on commit d435180

Please sign in to comment.