Breadcrumbs: Update snapshot tests & fix prop-types

This commit is contained in:
Gustav Hansen 2022-08-23 14:04:06 +02:00
parent fc3940fe19
commit 58a696436f
2 changed files with 2 additions and 1 deletions

View File

@ -248,6 +248,7 @@ exports[`Media Library | Breadcrumbs should render and match snapshot 1`] = `
<div>
<nav
aria-label="Navigation"
class="c0 "
>
<ol

View File

@ -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>