Skip to content

Instantly share code, notes, and snippets.

@JorensM
Created January 23, 2024 08:46
Show Gist options
  • Save JorensM/5eab0851321019a7156a2fbb0fce7569 to your computer and use it in GitHub Desktop.
Save JorensM/5eab0851321019a7156a2fbb0fce7569 to your computer and use it in GitHub Desktop.
Layout route problem
describe('New Listing page', () => {
renderRouter({
'new-listing': NewListingPage,
'listings/[id]': ListingPage,
'feed': FeedPage,
'_layout': Layout
}, {
initialUrl: '/'
});
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment