ant-design/components/statistic/__tests__/__snapshots__/index.test.tsx.snap
Yuki Zhang 3f822ac43f
test: move test cases to testing lib for Statistic (#36019)
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-13 09:05:49 +08:00

52 lines
905 B
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Statistic rtl render component should be rendered correctly in RTL direction 1`] = `
<div
class="ant-statistic ant-statistic-rtl"
>
<div
class="ant-statistic-content"
>
<span
class="ant-statistic-content-value"
>
<span
class="ant-statistic-content-value-int"
>
0
</span>
</span>
</div>
</div>
`;
exports[`Statistic support negetive number 1`] = `
<div
class="ant-statistic"
>
<div
class="ant-statistic-title"
>
Account Balance (CNY)
</div>
<div
class="ant-statistic-content"
>
<span
class="ant-statistic-content-value"
>
<span
class="ant-statistic-content-value-int"
>
-112,893
</span>
<span
class="ant-statistic-content-value-decimal"
>
.12
</span>
</span>
</div>
</div>
`;