Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
gnarea committed Feb 6, 2021
1 parent 89536bd commit 4a169c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/pohttp/routes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ import {
import { ParcelStore } from '../parcelStore';
import { makeServer } from './server';

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

const mockFastifyMongooseObject = { db: { what: 'The mongoose.Connection' } as any, ObjectId: {} };
mockFastifyMongoose(mockFastifyMongooseObject);

Expand Down

0 comments on commit 4a169c9

Please sign in to comment.