Skip to content

Commit

Permalink
fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Feb 6, 2021
1 parent 68b9c01 commit 69aecdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/poweb/parcelCollection.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ import { setUpCommonFixtures } from './_test_utils';
import { makeWebSocketServer } from './parcelCollection';
import { WebSocketCode } from './websockets';

jest.mock('../../utilities/exitHandling');

const REQUEST_ID_HEADER = 'X-Request';

const getFixtures = setUpCommonFixtures();
Expand Down
2 changes: 2 additions & 0 deletions src/services/poweb/server.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { setUpCommonFixtures } from './_test_utils';
import RouteOptions from './RouteOptions';
import { makeServer } from './server';

jest.mock('../../utilities/exitHandling');

const getFixtures = setUpCommonFixtures();

const mockFastifyInstance = {};
Expand Down

0 comments on commit 69aecdb

Please sign in to comment.