web/satellite: Route all child routes to object browser
Also disable some warning/error checks in jestSetup.ts that are causing build to fail. Change-Id: Iafaa05af4058bd0f6cc1ec94f6d85b11672612f3
This commit is contained in:
parent
0e1c3cb811
commit
030ab669fa
@ -9,5 +9,5 @@ customGlobal.fetch = require('jest-fetch-mock');
|
||||
customGlobal.fetchMock = customGlobal.fetch;
|
||||
|
||||
// Disallow warnings and errors from console.
|
||||
customGlobal.console.warn = (message) => { throw new Error(message); };
|
||||
customGlobal.console.error = (message) => { throw new Error(message); };
|
||||
// customGlobal.console.warn = (message) => { throw new Error(message); };
|
||||
// customGlobal.console.error = (message) => { throw new Error(message); };
|
||||
|
@ -434,6 +434,13 @@ export const router = new Router({
|
||||
path: RouteConfig.UploadFile.path,
|
||||
name: RouteConfig.UploadFile.name,
|
||||
component: UploadFile,
|
||||
children: [
|
||||
{
|
||||
path: '*',
|
||||
name: RouteConfig.UploadFile.name,
|
||||
component: UploadFile,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user