ant-design/components/breadcrumb/__tests__/__snapshots__/Breadcrumb.test.js.snap

52 lines
796 B
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
2017-02-23 13:45:16 +08:00
exports[`Breadcrumb should allow Breadcrumb.Item is null or undefined 1`] = `
<div
class="ant-breadcrumb"
>
2017-02-23 13:45:16 +08:00
<span>
<span
class="ant-breadcrumb-link"
>
2017-02-23 13:45:16 +08:00
Home
</span>
<span
class="ant-breadcrumb-separator"
>
2017-02-23 13:45:16 +08:00
/
</span>
</span>
</div>
`;
exports[`Breadcrumb should not display Breadcrumb Item when its children is falsy 1`] = `
<div
class="ant-breadcrumb"
>
<span>
<span
class="ant-breadcrumb-link"
>
xxx
</span>
<span
class="ant-breadcrumb-separator"
>
/
</span>
</span>
<span>
<span
class="ant-breadcrumb-link"
>
yyy
</span>
<span
class="ant-breadcrumb-separator"
>
/
</span>
</span>
</div>
`;