core-api: run bindRoutes in the app impl and inject provider

This commit is contained in:
Fredrik Adelöw
2020-12-07 15:59:37 +01:00
committed by Patrik Oldsberg
parent ad5eab923c
commit 5d52e20a44
5 changed files with 130 additions and 29 deletions
@@ -80,6 +80,7 @@ export function wrapInTestApp(
},
],
defaultApis: mockApis,
bindRoutes: () => {},
});
let Wrapper: ComponentType;