mirror of
https://github.com/fergalmoran/turnstone.git
synced 2026-01-06 09:06:04 +00:00
Add id prop to container test
This commit is contained in:
@@ -4,7 +4,7 @@ exports[`Container > Component renders correctly 1`] = `
|
||||
<div
|
||||
aria-expanded={false}
|
||||
aria-haspopup="listbox"
|
||||
aria-owns="undefined-dropdown"
|
||||
aria-owns="autocomplete-dropdown"
|
||||
className="query-container-class"
|
||||
role="combobox"
|
||||
style={
|
||||
@@ -16,11 +16,12 @@ exports[`Container > Component renders correctly 1`] = `
|
||||
>
|
||||
<input
|
||||
aria-autocomplete="both"
|
||||
aria-controls="undefined-dropdown"
|
||||
aria-controls="autocomplete-dropdown"
|
||||
autoCapitalize="off"
|
||||
autoComplete="off"
|
||||
autoCorrect="off"
|
||||
className="query-class"
|
||||
id="autocomplete"
|
||||
onBlur={[Function]}
|
||||
onFocus={[Function]}
|
||||
onInput={[Function]}
|
||||
|
||||
@@ -32,6 +32,7 @@ describe('Container', () => {
|
||||
data: fruits,
|
||||
dataSearchType: 'startswith',
|
||||
debounceWait: 0,
|
||||
id: 'autocomplete',
|
||||
maxItems: 10,
|
||||
noItemsMessage: 'No matching fruit found',
|
||||
placeholder: 'Type something fruity',
|
||||
|
||||
Reference in New Issue
Block a user