Skip to content

Commit

Permalink
Update errorLoggingLink.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
theodesp authored Mar 6, 2024
1 parent d85ab51 commit f1dd391
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/faustwp-core/tests/apollo/errorLoggingLink.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ import { ApolloError } from '@apollo/client/core';
import { Observable } from 'zen-observable-ts';
import { ErrorLoggingLink } from '../../src/apollo/errorLoggingLink';

// Mock console.error to prevent actual logging during tests
jest.spyOn(console, 'error').mockImplementation(() => {});

describe('ErrorLoggingLink', () => {
let link: ErrorLoggingLink;
let mockNextLink: jest.Mock;
Expand Down

0 comments on commit f1dd391

Please sign in to comment.