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

178 lines
3.8 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/tree-select/demo/basic.md correctly 1`] = `
<span
2018-06-28 20:00:35 +08:00
aria-haspopup="listbox"
class="ant-select ant-select-enabled ant-select-allow-clear"
2018-06-28 20:00:35 +08:00
role="combobox"
2017-09-20 16:26:18 +08:00
style="width:300px"
2018-06-28 20:00:35 +08:00
tabindex="0"
>
2016-11-22 14:28:05 +08:00
<span
2018-06-28 20:00:35 +08:00
class="ant-select-selection ant-select-selection--single"
>
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"
>
2018-08-25 15:52:14 +08:00
<i
class="anticon anticon-down ant-select-arrow-icon"
2018-09-02 19:25:04 +08:00
/>
</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
2018-06-28 20:00:35 +08:00
aria-haspopup="listbox"
class="ant-select ant-select-enabled"
2018-06-28 20:00:35 +08:00
role="combobox"
2017-09-20 16:26:18 +08:00
style="width:300px"
2018-06-28 20:00:35 +08:00
tabindex="-1"
>
2016-11-22 14:28:05 +08:00
<span
2018-06-28 20:00:35 +08:00
class="ant-select-selection ant-select-selection--multiple"
>
<ul
class="ant-select-selection__rendered"
>
<li
class="ant-select-selection__choice"
2018-06-28 20:00:35 +08:00
role="menuitem"
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"
2018-08-25 15:52:14 +08:00
>
<i
class="anticon anticon-close ant-select-remove-icon"
2018-09-02 19:25:04 +08:00
/>
2018-08-25 15:52:14 +08:00
</span>
<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
2018-06-28 20:00:35 +08:00
aria-autocomplete="list"
aria-label="filter select"
aria-multiline="false"
class="ant-select-search__field"
2018-06-28 20:00:35 +08:00
type="text"
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
2018-06-28 20:00:35 +08:00
aria-haspopup="listbox"
class="ant-select ant-select-enabled ant-select-allow-clear"
2018-06-28 20:00:35 +08:00
role="combobox"
2017-09-20 16:26:18 +08:00
style="width:300px"
2018-06-28 20:00:35 +08:00
tabindex="-1"
2017-08-21 18:07:39 +08:00
>
<span
2018-06-28 20:00:35 +08:00
class="ant-select-selection ant-select-selection--multiple"
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
2018-06-28 20:00:35 +08:00
aria-autocomplete="list"
aria-label="filter select"
aria-multiline="false"
class="ant-select-search__field"
2018-06-28 20:00:35 +08:00
type="text"
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
2018-06-28 20:00:35 +08:00
aria-haspopup="listbox"
class="ant-select ant-select-enabled"
2018-06-28 20:00:35 +08:00
role="combobox"
2017-09-20 16:26:18 +08:00
style="width:300px"
2018-06-28 20:00:35 +08:00
tabindex="0"
>
2016-11-22 14:28:05 +08:00
<span
2018-06-28 20:00:35 +08:00
class="ant-select-selection ant-select-selection--single"
>
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"
>
2018-08-25 15:52:14 +08:00
<i
class="anticon anticon-down ant-select-arrow-icon"
2018-09-02 19:25:04 +08:00
/>
</span>
2016-11-22 14:28:05 +08:00
</span>
</span>
2016-11-22 14:28:05 +08:00
`;