Forgot one member of the higher order type

This commit is contained in:
Fredrik Adelöw
2020-06-03 09:21:35 +02:00
parent 87f7f90df1
commit 62b1799f51
2 changed files with 2 additions and 0 deletions
@@ -28,4 +28,5 @@ export type IngestionModel = {
export type HigherOrderOperation = {
addLocation(spec: LocationSpec): Promise<AddLocationResult>;
refreshAllLocations(): Promise<void>;
};
@@ -48,6 +48,7 @@ describe('createRouter', () => {
};
higherOrderOperation = {
addLocation: jest.fn(),
refreshAllLocations: jest.fn(),
};
const router = await createRouter({
entitiesCatalog,