ant-design/components/button/__tests__/__snapshots__/index.test.js.snap

133 lines
1.8 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Button fixbug renders {0} , 0 and {false} 1`] = `
<button
class="ant-btn"
type="button"
>
0
</button>
`;
exports[`Button fixbug renders {0} , 0 and {false} 2`] = `
<button
class="ant-btn"
type="button"
>
<span>
0
</span>
</button>
`;
exports[`Button fixbug renders {0} , 0 and {false} 3`] = `
<button
class="ant-btn"
type="button"
/>
`;
2016-11-14 18:31:08 +08:00
exports[`Button renders Chinese characters correctly 1`] = `
<button
class="ant-btn"
type="button"
>
2016-11-14 18:31:08 +08:00
<span>
按 钮
</span>
</button>
`;
exports[`Button renders Chinese characters correctly 2`] = `
<button
class="ant-btn"
type="button"
>
2018-07-19 20:37:47 +08:00
<i
2018-08-13 20:51:01 +08:00
class="anticon anticon-search"
2018-09-02 19:25:04 +08:00
/>
<span>
按钮
</span>
</button>
`;
exports[`Button renders Chinese characters correctly 3`] = `
<button
class="ant-btn"
type="button"
>
2018-07-19 20:37:47 +08:00
<i
2018-08-13 20:51:01 +08:00
class="anticon anticon-search"
2018-09-02 19:25:04 +08:00
/>
<span>
按钮
</span>
</button>
`;
2018-05-01 19:36:11 +08:00
exports[`Button renders Chinese characters correctly 4`] = `
<button
class="ant-btn"
type="button"
>
2018-07-19 20:37:47 +08:00
<i
2018-08-13 20:51:01 +08:00
class="anticon anticon-search"
2018-09-02 19:25:04 +08:00
/>
2018-05-01 19:36:11 +08:00
<span>
按钮
</span>
</button>
`;
exports[`Button renders Chinese characters correctly 5`] = `
<button
class="ant-btn ant-btn-loading"
type="button"
>
2018-07-19 20:37:47 +08:00
<i
2018-08-14 15:32:29 +08:00
class="anticon anticon-loading"
2018-09-02 19:25:04 +08:00
/>
2018-05-01 19:36:11 +08:00
<span>
按钮
</span>
</button>
`;
exports[`Button renders Chinese characters correctly 6`] = `
<button
class="ant-btn ant-btn-loading"
type="button"
>
2018-07-19 20:37:47 +08:00
<i
2018-08-14 15:32:29 +08:00
class="anticon anticon-loading"
2018-09-02 19:25:04 +08:00
/>
2018-05-01 19:36:11 +08:00
<span>
按 钮
</span>
</button>
`;
2016-11-14 18:31:08 +08:00
exports[`Button renders correctly 1`] = `
<button
class="ant-btn"
type="button"
>
2016-11-14 18:31:08 +08:00
<span>
Follow
</span>
</button>
`;
exports[`Button should support link button 1`] = `
<a
class="ant-btn"
href="http://ant.design"
target="_blank"
>
<span>
link button
</span>
</a>
`;