mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 19:04:38 +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>
|
<div>
|
||||||
<nav
|
<nav
|
||||||
|
aria-label="Navigation"
|
||||||
class="c0 "
|
class="c0 "
|
||||||
>
|
>
|
||||||
<ol
|
<ol
|
||||||
|
|||||||
@ -40,7 +40,7 @@ const setup = (props) =>
|
|||||||
<MemoryRouter>
|
<MemoryRouter>
|
||||||
<IntlProvider locale="en" messages={{}}>
|
<IntlProvider locale="en" messages={{}}>
|
||||||
<ThemeProvider theme={lightTheme}>
|
<ThemeProvider theme={lightTheme}>
|
||||||
<Breadcrumbs breadcrumbs={defaultBreadcrumbs} as="nav" {...props} />
|
<Breadcrumbs breadcrumbs={defaultBreadcrumbs} label="Navigation" as="nav" {...props} />
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
</IntlProvider>
|
</IntlProvider>
|
||||||
</MemoryRouter>
|
</MemoryRouter>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user