Merge pull request #1120 from spotify/freben/refresh-t
Forgot one member of the higher order type
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user