2018-04-18 10:45:07 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-04-29 23:01:58 +08:00
|
|
|
exports[`Progress render format 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-bg"
|
2018-08-01 00:19:06 +08:00
|
|
|
style="width: 50%; height: 8px; border-radius: 100px;"
|
2018-04-29 23:01:58 +08:00
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-success-bg"
|
2018-08-01 00:19:06 +08:00
|
|
|
style="width: 10%; height: 8px; border-radius: 100px;"
|
2018-04-29 23:01:58 +08:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
|
|
|
50 10
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2018-04-18 10:45:07 +08:00
|
|
|
exports[`Progress render negetive progress 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-bg"
|
2018-08-01 00:19:06 +08:00
|
|
|
style="width: 0%; height: 8px; border-radius: 100px;"
|
2018-04-18 10:45:07 +08:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
2018-04-18 11:10:32 +08:00
|
|
|
0%
|
2018-04-18 10:45:07 +08:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render negetive successPercent 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-normal ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-bg"
|
2018-08-01 00:19:06 +08:00
|
|
|
style="width: 50%; height: 8px; border-radius: 100px;"
|
2018-04-18 10:45:07 +08:00
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="ant-progress-success-bg"
|
2018-08-01 00:19:06 +08:00
|
|
|
style="width: 0%; height: 8px; border-radius: 100px;"
|
2018-04-18 10:45:07 +08:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
|
|
|
>
|
|
|
|
50%
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`Progress render out-of-range progress 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-success ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-bg"
|
2018-08-01 00:19:06 +08:00
|
|
|
style="width: 100%; height: 8px; border-radius: 100px;"
|
2018-04-18 10:45:07 +08:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
2018-07-19 20:37:47 +08:00
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon"
|
|
|
|
/>
|
|
|
|
</span>
|
2018-04-18 10:45:07 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
2018-04-18 11:10:32 +08:00
|
|
|
|
|
|
|
exports[`Progress render out-of-range progress with info 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-progress ant-progress-line ant-progress-status-success ant-progress-show-info ant-progress-default"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-progress-outer"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-inner"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-progress-bg"
|
2018-08-01 00:19:06 +08:00
|
|
|
style="width: 100%; height: 8px; border-radius: 100px;"
|
2018-04-18 11:10:32 +08:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<span
|
|
|
|
class="ant-progress-text"
|
2018-07-19 20:37:47 +08:00
|
|
|
>
|
|
|
|
<i
|
|
|
|
class="anticon"
|
|
|
|
/>
|
|
|
|
</span>
|
2018-04-18 11:10:32 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|