Revision 75361f43
Added by Ron Lavi about 5 years ago
webpack/assets/javascripts/react_app/components/AutoComplete/__tests__/AutoCompleteActions.test.js | ||
---|---|---|
controller,
|
||
trigger,
|
||
url,
|
||
error,
|
||
id,
|
||
} from '../AutoComplete.fixtures';
|
||
|
||
... | ... | |
|
||
const fixtures = {
|
||
'should update store with initial data': () =>
|
||
initialUpdate('searchQuery', controller, id),
|
||
initialUpdate({ searchQuery: 'searchQuery', error, controller, id }),
|
||
|
||
'should load results and success': () =>
|
||
loadResults(
|
Also available in: Unified diff
Fixes #26424 - refactor autocomplete errors display.