From 4a169c958aafcf4b8031c49f5ced30f785dec823 Mon Sep 17 00:00:00 2001 From: Gus Narea Date: Sat, 6 Feb 2021 18:42:59 +0000 Subject: [PATCH] fix broken test --- src/services/pohttp/routes.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/services/pohttp/routes.spec.ts b/src/services/pohttp/routes.spec.ts index 1cd0eb189..1ad3fbaf2 100644 --- a/src/services/pohttp/routes.spec.ts +++ b/src/services/pohttp/routes.spec.ts @@ -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);