2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-01-09 16:18:20 +08:00
|
|
|
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"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-14 18:31:08 +08:00
|
|
|
<span>
|
|
|
|
按 钮
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
|
|
|
|
2017-05-02 20:16:18 +08:00
|
|
|
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
|
|
|
/>
|
2017-05-02 20:16:18 +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
|
|
|
/>
|
2017-05-02 20:16:18 +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"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-14 18:31:08 +08:00
|
|
|
<span>
|
|
|
|
Follow
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
2017-11-29 11:20:22 +08:00
|
|
|
|
|
|
|
exports[`Button should support link button 1`] = `
|
|
|
|
<a
|
|
|
|
class="ant-btn"
|
|
|
|
href="http://ant.design"
|
|
|
|
target="_blank"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
link button
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
`;
|