ant-design/tests/breadcrumb/__snapshots__/demo.test.js.snap

186 lines
3.1 KiB
Plaintext
Raw Normal View History

2016-11-22 14:28:05 +08:00
exports[`test renders ./components/breadcrumb/demo/basic.md correctly 1`] = `
<div
class="ant-breadcrumb">
<span>
<span
class="ant-breadcrumb-link">
Home
</span>
<span
class="ant-breadcrumb-separator">
/
</span>
</span>
<span>
<span
class="ant-breadcrumb-link">
<a
href="">
Application Center
</a>
</span>
<span
class="ant-breadcrumb-separator">
/
</span>
</span>
<span>
<span
class="ant-breadcrumb-link">
<a
href="">
Application List
</a>
</span>
<span
class="ant-breadcrumb-separator">
/
</span>
</span>
<span>
<span
class="ant-breadcrumb-link">
An Application
</span>
<span
class="ant-breadcrumb-separator">
/
</span>
</span>
</div>
`;
exports[`test renders ./components/breadcrumb/demo/router.md correctly 1`] = `
<div>
<div
class="demo-nav">
<a
href="#/">
Home
</a>
<a
href="#/apps">
Application List
</a>
</div>
2016-12-04 16:01:45 +08:00
Home Page
2016-11-22 14:28:05 +08:00
<div
2016-12-04 16:01:45 +08:00
class="ant-alert ant-alert-info ant-alert-no-icon"
data-show="true"
style="margin:16px 0;">
<span
class="ant-alert-message">
Click the navigation above to switch:
</span>
<span
class="ant-alert-description" />
2016-11-22 14:28:05 +08:00
</div>
<div
class="ant-breadcrumb">
<span>
<span
class="ant-breadcrumb-link">
<span>
Home
</span>
</span>
<span
class="ant-breadcrumb-separator">
/
</span>
</span>
</div>
</div>
`;
exports[`test renders ./components/breadcrumb/demo/separator.md correctly 1`] = `
<div
class="ant-breadcrumb">
<span>
<span
class="ant-breadcrumb-link">
Home
</span>
<span
class="ant-breadcrumb-separator">
>
</span>
</span>
<span>
<a
class="ant-breadcrumb-link"
href="">
Application Center
</a>
<span
class="ant-breadcrumb-separator">
>
</span>
</span>
<span>
<a
class="ant-breadcrumb-link"
href="">
Application List
</a>
<span
class="ant-breadcrumb-separator">
>
</span>
</span>
<span>
<span
class="ant-breadcrumb-link">
An Application
</span>
<span
class="ant-breadcrumb-separator">
>
</span>
</span>
</div>
`;
exports[`test renders ./components/breadcrumb/demo/withIcon.md correctly 1`] = `
<div
class="ant-breadcrumb">
<span>
<a
class="ant-breadcrumb-link"
href="">
<i
class="anticon anticon-home" />
2016-11-22 14:28:05 +08:00
</a>
<span
class="ant-breadcrumb-separator">
/
</span>
</span>
<span>
<a
class="ant-breadcrumb-link"
href="">
<i
class="anticon anticon-user" />
2016-11-22 14:28:05 +08:00
<span>
Application List
</span>
</a>
<span
class="ant-breadcrumb-separator">
/
</span>
</span>
<span>
<span
class="ant-breadcrumb-link">
Application
</span>
<span
class="ant-breadcrumb-separator">
/
</span>
</span>
</div>
`;