Browse Source

Fix cascader test snapshot

pull/16356/head
afc163 6 years ago
parent
commit
a10ea03754
No known key found for this signature in database GPG Key ID: 738F973FCE5C6B48
  1. 23
      components/cascader/__tests__/__snapshots__/index.test.js.snap

23
components/cascader/__tests__/__snapshots__/index.test.js.snap

@ -11,6 +11,7 @@ exports[`Cascader can be selected 1`] = `
>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
role="menuitem"
title="Zhejiang"
>
Zhejiang
@ -40,6 +41,7 @@ exports[`Cascader can be selected 1`] = `
</li>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
role="menuitem"
title="Jiangsu"
>
Jiangsu
@ -73,6 +75,7 @@ exports[`Cascader can be selected 1`] = `
>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
role="menuitem"
title="Hangzhou"
>
Hangzhou
@ -117,6 +120,7 @@ exports[`Cascader can be selected 2`] = `
>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
role="menuitem"
title="Zhejiang"
>
Zhejiang
@ -146,6 +150,7 @@ exports[`Cascader can be selected 2`] = `
</li>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
role="menuitem"
title="Jiangsu"
>
Jiangsu
@ -179,6 +184,7 @@ exports[`Cascader can be selected 2`] = `
>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
role="menuitem"
title="Hangzhou"
>
Hangzhou
@ -212,6 +218,7 @@ exports[`Cascader can be selected 2`] = `
>
<li
class="ant-cascader-menu-item"
role="menuitem"
title="West Lake"
>
West Lake
@ -233,6 +240,7 @@ exports[`Cascader can be selected 3`] = `
>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
role="menuitem"
title="Zhejiang"
>
Zhejiang
@ -262,6 +270,7 @@ exports[`Cascader can be selected 3`] = `
</li>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
role="menuitem"
title="Jiangsu"
>
Jiangsu
@ -295,6 +304,7 @@ exports[`Cascader can be selected 3`] = `
>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
role="menuitem"
title="Hangzhou"
>
Hangzhou
@ -328,6 +338,7 @@ exports[`Cascader can be selected 3`] = `
>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-active"
role="menuitem"
title="West Lake"
>
West Lake
@ -359,6 +370,7 @@ exports[`Cascader popup correctly when panel is open 1`] = `
>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
role="menuitem"
title="Zhejiang"
>
Zhejiang
@ -388,6 +400,7 @@ exports[`Cascader popup correctly when panel is open 1`] = `
</li>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
role="menuitem"
title="Jiangsu"
>
Jiangsu
@ -432,6 +445,7 @@ exports[`Cascader popup correctly with defaultValue 1`] = `
>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
role="menuitem"
title="Zhejiang"
>
Zhejiang
@ -461,6 +475,7 @@ exports[`Cascader popup correctly with defaultValue 1`] = `
</li>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand"
role="menuitem"
title="Jiangsu"
>
Jiangsu
@ -494,6 +509,7 @@ exports[`Cascader popup correctly with defaultValue 1`] = `
>
<li
class="ant-cascader-menu-item ant-cascader-menu-item-expand ant-cascader-menu-item-active"
role="menuitem"
title="Hangzhou"
>
Hangzhou
@ -527,6 +543,7 @@ exports[`Cascader popup correctly with defaultValue 1`] = `
>
<li
class="ant-cascader-menu-item"
role="menuitem"
title="West Lake"
>
West Lake
@ -896,6 +913,8 @@ exports[`Cascader should highlight keyword and filter when search in Cascader 1`
key="jiangsu,nanjing,zhonghuamen"
onClick={[Function]}
onDoubleClick={[Function]}
onMouseDown={[Function]}
role="menuitem"
title=""
>
Jiangsu
@ -909,6 +928,8 @@ exports[`Cascader should highlight keyword and filter when search in Cascader 1`
key="zhejiang,hangzhou,xihu"
onClick={[Function]}
onDoubleClick={[Function]}
onMouseDown={[Function]}
role="menuitem"
title=""
>
Zhejiang
@ -1191,6 +1212,8 @@ exports[`Cascader should render not found content 1`] = `
key="ANT_CASCADER_NOT_FOUND"
onClick={[Function]}
onDoubleClick={[Function]}
onMouseDown={[Function]}
role="menuitem"
title=""
>
<OriginEmpty

Loading…
Cancel
Save