ant-design/components/tree-select/__tests__/__snapshots__/demo.test.js.snap
2017-09-15 16:14:26 +08:00

185 lines
4.0 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/tree-select/demo/basic.md correctly 1`] = `
<div
id="TriggerContainer"
>
<span
class="ant-select ant-select-enabled ant-select-allow-clear"
style="width:300px;"
>
<span
aria-autocomplete="list"
aria-haspopup="true"
class="ant-select-selection
ant-select-selection--single"
role="combobox"
tabindex="0"
>
<span
class="ant-select-selection__rendered"
>
<span
class="ant-select-selection__placeholder"
>
Please select
</span>
</span>
<span
class="ant-select-arrow"
style="outline:none;"
>
<b />
</span>
</span>
</span>
</div>
`;
exports[`renders ./components/tree-select/demo/checkable.md correctly 1`] = `
<div
id="TriggerContainer"
>
<span
class="ant-select ant-select-enabled"
style="width:300px;"
>
<span
aria-autocomplete="list"
aria-haspopup="true"
class="ant-select-selection
ant-select-selection--multiple"
role="combobox"
>
<ul
class="ant-select-selection__rendered"
>
<li
class="ant-select-selection__choice"
style="user-select:none;-webkit-user-select:none;"
title="Node1"
unselectable="unselectable"
>
<span
class="ant-select-selection__choice__remove"
/>
<span
class="ant-select-selection__choice__content"
>
Node1
</span>
</li>
<li
class="ant-select-search ant-select-search--inline"
>
<span
class="ant-select-search__field__wrap"
>
<input
class="ant-select-search__field"
role="textbox"
value=""
/>
<span
class="ant-select-search__field__mirror"
>
 
</span>
</span>
</li>
</ul>
<span
class="ant-select-search__field__placeholder"
style="display:none;"
>
Please select
</span>
</span>
</span>
</div>
`;
exports[`renders ./components/tree-select/demo/multiple.md correctly 1`] = `
<div
id="TriggerContainer"
>
<span
class="ant-select ant-select-enabled ant-select-allow-clear"
style="width:300px;"
>
<span
aria-autocomplete="list"
aria-haspopup="true"
class="ant-select-selection
ant-select-selection--multiple"
role="combobox"
>
<ul
class="ant-select-selection__rendered"
>
<li
class="ant-select-search ant-select-search--inline"
>
<span
class="ant-select-search__field__wrap"
>
<input
class="ant-select-search__field"
role="textbox"
value=""
/>
<span
class="ant-select-search__field__mirror"
>
 
</span>
</span>
</li>
</ul>
<span
class="ant-select-search__field__placeholder"
style="display:block;"
>
Please select
</span>
</span>
</span>
</div>
`;
exports[`renders ./components/tree-select/demo/treeData.md correctly 1`] = `
<div
id="TriggerContainer"
>
<span
class="ant-select ant-select-enabled"
style="width:300px;"
>
<span
aria-autocomplete="list"
aria-haspopup="true"
class="ant-select-selection
ant-select-selection--single"
role="combobox"
tabindex="0"
>
<span
class="ant-select-selection__rendered"
>
<span
class="ant-select-selection__placeholder"
>
Please select
</span>
</span>
<span
class="ant-select-arrow"
style="outline:none;"
>
<b />
</span>
</span>
</span>
</div>
`;