ant-design/components/tree-select/__tests__/__snapshots__/demo.test.js.snap

169 lines
3.5 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/tree-select/demo/basic.md correctly 1`] = `
<span
class="ant-select ant-select-enabled ant-select-allow-clear"
2017-09-20 16:26:18 +08:00
style="width:300px"
>
2016-11-22 14:28:05 +08:00
<span
aria-autocomplete="list"
aria-haspopup="true"
class="ant-select-selection
2017-10-09 13:32:11 +08:00
ant-select-selection--single"
role="combobox"
tabindex="0"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-select-selection__rendered"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-select-selection__placeholder"
>
Please select
2016-11-22 14:28:05 +08:00
</span>
</span>
<span
class="ant-select-arrow"
2017-09-20 16:26:18 +08:00
style="outline:none"
>
<b />
</span>
2016-11-22 14:28:05 +08:00
</span>
</span>
2016-11-22 14:28:05 +08:00
`;
exports[`renders ./components/tree-select/demo/checkable.md correctly 1`] = `
<span
class="ant-select ant-select-enabled"
2017-09-20 16:26:18 +08:00
style="width:300px"
>
2016-11-22 14:28:05 +08:00
<span
aria-autocomplete="list"
aria-haspopup="true"
class="ant-select-selection
2017-10-09 13:32:11 +08:00
ant-select-selection--multiple"
role="combobox"
>
<ul
class="ant-select-selection__rendered"
>
<li
class="ant-select-selection__choice"
2017-09-20 16:26:18 +08:00
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"
2017-09-15 16:14:26 +08:00
>
<input
class="ant-select-search__field"
role="textbox"
value=""
/>
2017-09-15 16:14:26 +08:00
<span
class="ant-select-search__field__mirror"
2017-09-15 16:14:26 +08:00
>
 
2017-09-15 16:14:26 +08:00
</span>
</span>
</li>
</ul>
<span
class="ant-select-search__field__placeholder"
2017-09-20 16:26:18 +08:00
style="display:none"
>
Please select
2016-11-22 14:28:05 +08:00
</span>
</span>
</span>
2016-11-22 14:28:05 +08:00
`;
2017-08-21 18:07:39 +08:00
exports[`renders ./components/tree-select/demo/multiple.md correctly 1`] = `
<span
class="ant-select ant-select-enabled ant-select-allow-clear"
2017-09-20 16:26:18 +08:00
style="width:300px"
2017-08-21 18:07:39 +08:00
>
<span
aria-autocomplete="list"
aria-haspopup="true"
class="ant-select-selection
2017-10-09 13:32:11 +08:00
ant-select-selection--multiple"
role="combobox"
2017-08-21 18:07:39 +08:00
>
<ul
class="ant-select-selection__rendered"
2017-08-21 18:07:39 +08:00
>
<li
class="ant-select-search ant-select-search--inline"
2017-08-21 18:07:39 +08:00
>
<span
class="ant-select-search__field__wrap"
2017-08-21 18:07:39 +08:00
>
<input
class="ant-select-search__field"
role="textbox"
value=""
/>
2017-09-14 18:09:30 +08:00
<span
class="ant-select-search__field__mirror"
2017-09-14 18:09:30 +08:00
>
 
2017-09-14 18:09:30 +08:00
</span>
</span>
</li>
</ul>
<span
class="ant-select-search__field__placeholder"
2017-09-20 16:26:18 +08:00
style="display:block"
>
Please select
2017-08-21 18:07:39 +08:00
</span>
</span>
</span>
2017-08-21 18:07:39 +08:00
`;
exports[`renders ./components/tree-select/demo/treeData.md correctly 1`] = `
<span
class="ant-select ant-select-enabled"
2017-09-20 16:26:18 +08:00
style="width:300px"
>
2016-11-22 14:28:05 +08:00
<span
aria-autocomplete="list"
aria-haspopup="true"
class="ant-select-selection
2017-10-09 13:32:11 +08:00
ant-select-selection--single"
role="combobox"
tabindex="0"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-select-selection__rendered"
>
2016-11-22 14:28:05 +08:00
<span
class="ant-select-selection__placeholder"
2017-09-15 16:14:26 +08:00
>
Please select
2016-11-22 14:28:05 +08:00
</span>
</span>
<span
class="ant-select-arrow"
2017-09-20 16:26:18 +08:00
style="outline:none"
>
<b />
</span>
2016-11-22 14:28:05 +08:00
</span>
</span>
2016-11-22 14:28:05 +08:00
`;