fix test case

This commit is contained in:
afc163 2017-03-10 19:22:18 +08:00
parent 228e9c0747
commit a0cdce4d00
5 changed files with 42 additions and 18 deletions

View File

@ -26,7 +26,9 @@ exports[`test renders ./components/auto-complete/demo/antd.md correctly 1`] = `
class="ant-input ant-select-search__field"
style="height:50px;" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>
@ -70,7 +72,9 @@ exports[`test renders ./components/auto-complete/demo/basic.md correctly 1`] = `
type="text"
value="" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>
@ -125,7 +129,9 @@ exports[`test renders ./components/auto-complete/demo/certain-category.md correc
</span>
</span>
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>
@ -170,7 +176,9 @@ exports[`test renders ./components/auto-complete/demo/non-case-sensitive.md corr
type="text"
value="" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>
@ -214,7 +222,9 @@ exports[`test renders ./components/auto-complete/demo/options.md correctly 1`] =
type="text"
value="" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>
@ -273,7 +283,9 @@ exports[`test renders ./components/auto-complete/demo/uncertain-category.md corr
</span>
</span>
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>

View File

@ -1395,7 +1395,9 @@ exports[`test renders ./components/form/demo/validate-other.md correctly 1`] = `
class="ant-select-search__field"
value="" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>

View File

@ -147,7 +147,9 @@ exports[`test renders ./components/locale-provider/demo/all.md correctly 1`] = `
class="ant-select-search__field"
value="" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</div>
</div>

View File

@ -20,7 +20,9 @@ exports[`test renders ./components/select/demo/automatic-tokenization.md correct
class="ant-select-search__field"
value="" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>
@ -122,7 +124,9 @@ exports[`test renders ./components/select/demo/combobox.md correctly 1`] = `
class="ant-select-search__field"
value="" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>
@ -281,7 +285,9 @@ exports[`test renders ./components/select/demo/multiple.md correctly 1`] = `
class="ant-select-search__field"
value="" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>
@ -350,7 +356,9 @@ exports[`test renders ./components/select/demo/search.md correctly 1`] = `
class="ant-select-search__field"
value="" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</div>
</div>
@ -392,7 +400,9 @@ exports[`test renders ./components/select/demo/search-box.md correctly 1`] = `
class="ant-select-search__field"
value="" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>
@ -512,7 +522,9 @@ exports[`test renders ./components/select/demo/tags.md correctly 1`] = `
class="ant-select-search__field"
value="" />
<span
class="ant-select-search__field__mirror" />
class="ant-select-search__field__mirror">
 
</span>
</div>
</li>
</ul>

View File

@ -14,9 +14,7 @@ exports[`Search should show cross icon when input value exists 1`] = `
<input
className="ant-input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"
@ -50,9 +48,7 @@ exports[`Search should show cross icon when input value exists 2`] = `
<input
className="ant-input"
disabled={false}
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
onKeyDown={[Function]}
placeholder=""
type="text"