Skip to content

Commit

Permalink
Reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfranklin committed Nov 12, 2024
1 parent f2dffb7 commit 0a157c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions react/jest.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ export function shouldIgnoreError(args: any[]): boolean {

beforeAll(() => {
// Establish mocking of APIs before all tests
server.listen({ onUnhandledRequest: 'error' });

server.listen({
onUnhandledRequest: 'error',
});
const originalError = console.error;

jest.spyOn(console, 'error').mockImplementation((...args: any[]) => {
Expand Down

0 comments on commit 0a157c1

Please sign in to comment.