-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AppShell] Add
debug-routes
app for baseline tests (#5765)
[AppShell] Add `debug-routes` app for baseline tests
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import React from "react" | ||
|
||
/** | ||
* This route is just for testing baseline page shell stuff -- Lighthouse, | ||
* Calibre, assets loaded on page, and other debugging things that might | ||
* impact global performance. | ||
*/ | ||
export const debugRoutes = [ | ||
{ | ||
path: "/debug", | ||
Component: ({ children }) => children, | ||
children: [ | ||
{ | ||
path: "baseline", | ||
Component: () => <div>Baseline</div>, | ||
}, | ||
], | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters