mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 10:23:34 +00:00
Breadcrumbs: Update snapshot tests & fix prop-types
This commit is contained in:
parent
fc3940fe19
commit
58a696436f
@ -248,6 +248,7 @@ exports[`Media Library | Breadcrumbs should render and match snapshot 1`] = `
|
||||
|
||||
<div>
|
||||
<nav
|
||||
aria-label="Navigation"
|
||||
class="c0 "
|
||||
>
|
||||
<ol
|
||||
|
||||
@ -40,7 +40,7 @@ const setup = (props) =>
|
||||
<MemoryRouter>
|
||||
<IntlProvider locale="en" messages={{}}>
|
||||
<ThemeProvider theme={lightTheme}>
|
||||
<Breadcrumbs breadcrumbs={defaultBreadcrumbs} as="nav" {...props} />
|
||||
<Breadcrumbs breadcrumbs={defaultBreadcrumbs} label="Navigation" as="nav" {...props} />
|
||||
</ThemeProvider>
|
||||
</IntlProvider>
|
||||
</MemoryRouter>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user