Skip to content

Commit

Permalink
Simplify syntax error test output
Browse files Browse the repository at this point in the history
the full output seems potentially flaky
  • Loading branch information
gitKrystan committed Dec 3, 2023
1 parent 056f305 commit 4446b77
Show file tree
Hide file tree
Showing 4 changed files with 371 additions and 441 deletions.
2 changes: 1 addition & 1 deletion tests/helpers/ambiguous.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,6 @@ async function behavesLikeFormattedAmbiguousCase(
throw error;
}
expect(isSyntaxError, 'Expected SyntaxError').toBeTruthy();
expect(error).toMatchSnapshot();
expect('Syntax Error').toMatchSnapshot();
}
}
Loading

0 comments on commit 4446b77

Please sign in to comment.