diff --git a/src/App/components/Breadcrumb/__snapshots__/index.test.js.snap b/src/App/components/Breadcrumb/__snapshots__/index.test.js.snap index 8a346a6e97..d8af195639 100644 --- a/src/App/components/Breadcrumb/__snapshots__/index.test.js.snap +++ b/src/App/components/Breadcrumb/__snapshots__/index.test.js.snap @@ -1,74 +1,82 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Component: Breadcrumb renders breadcrumb with the provided items in the items prop 1`] = ` -
    -
  1. +
      - - test - - -
    +
  2. + + test + +
  3. +
+ `; exports[`Component: Breadcrumb renders breadcrumb with the provided items wrapped in anchor tags when href is provided in the items prop 1`] = ` -
    -
  1. +
      - - test - - -
    + + test + +
  2. +
+ `; exports[`Component: Breadcrumb renders multiple breadcrumbs when provided in the items prop 1`] = ` -
    -
  1. - - test #1 - -
  2. -
  3. - - test #2 - -
  4. -
  5. +
      - - test #3 - - -
    1. - - test #4 - -
    2. -
    +
  6. + + test #1 + +
  7. +
  8. + + test #2 + +
  9. +
  10. + + test #3 + +
  11. +
  12. + + test #4 + +
  13. +
+ `; exports[`Component: Breadcrumb renders with default items when no items is provided through items prop 1`] = ` -
    - -
+ `; diff --git a/src/App/components/Breadcrumb/index.js b/src/App/components/Breadcrumb/index.js index 62c6a849c9..c290b70854 100644 --- a/src/App/components/Breadcrumb/index.js +++ b/src/App/components/Breadcrumb/index.js @@ -17,9 +17,11 @@ const DefaultItems = () => ( ); const Breadcrumb = ({ items }) => ( -
    - {items ? _renderItems(items) : } -
+ ); Breadcrumb.propTypes = {