mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 01:11:26 +08:00
2beb28518c
* 🔨 refactor demo code style
* refactor alert code and fix test cov
* add test case for AutoComplete
* fix test
59 lines
1.0 KiB
Plaintext
59 lines
1.0 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Alert ErrorBoundary 1`] = `
|
|
<div
|
|
class="ant-alert ant-alert-error ant-alert-with-description ant-alert-no-icon"
|
|
data-show="true"
|
|
>
|
|
<span
|
|
class="ant-alert-message"
|
|
>
|
|
ReferenceError: NotExisted is not defined
|
|
</span>
|
|
<span
|
|
class="ant-alert-description"
|
|
>
|
|
<pre>
|
|
in ThrowError
|
|
in ErrorBoundary (created by WrapperComponent)
|
|
in WrapperComponent
|
|
</pre>
|
|
</span>
|
|
</div>
|
|
`;
|
|
|
|
exports[`Alert could accept none react element icon 1`] = `
|
|
<div
|
|
class="ant-alert ant-alert-success"
|
|
data-show="true"
|
|
>
|
|
<span
|
|
class="ant-alert-icon"
|
|
>
|
|
icon
|
|
</span>
|
|
<span
|
|
class="ant-alert-message"
|
|
>
|
|
Success Tips
|
|
</span>
|
|
<span
|
|
class="ant-alert-description"
|
|
/>
|
|
</div>
|
|
`;
|
|
|
|
exports[`Alert rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
<div
|
|
class="ant-alert ant-alert-info ant-alert-no-icon ant-alert-rtl"
|
|
data-show="true"
|
|
>
|
|
<span
|
|
class="ant-alert-message"
|
|
/>
|
|
<span
|
|
class="ant-alert-description"
|
|
/>
|
|
</div>
|
|
`;
|