Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Beth Shook committed Apr 22, 2024
1 parent e6d238b commit 0af429e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/app/content/hooks/receivePageNotFoundId.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import createTestServices from '../../../test/createTestServices';
import createTestStore from '../../../test/createTestStore';
import { notFound } from '../../errors/routes';
import { replace } from '../../navigation/actions';
import { createRouterService } from '../../navigation/routerService';
import { AnyMatch } from '../../navigation/types';
import { MiddlewareAPI, Store } from '../../types';
import { assertWindow } from '../../utils';
import { receivePageNotFoundId } from '../actions';
Expand All @@ -23,7 +20,6 @@ describe('receivePageNotFoundId hook', () => {
let store: Store;
let helpers: MiddlewareAPI & ReturnType<typeof createTestServices>;
let historyReplaceSpy: jest.SpyInstance;
let dispatch: jest.SpyInstance;
let fetchBackup: any;
let window: Window;

Expand All @@ -47,8 +43,6 @@ describe('receivePageNotFoundId hook', () => {
pathname: '/books/physics/pages/1-introduction301',
} as any;

dispatch = jest.spyOn(helpers, 'dispatch');

historyReplaceSpy = jest.spyOn(helpers.history, 'replace')
.mockImplementation(jest.fn());

Expand Down

0 comments on commit 0af429e

Please sign in to comment.