File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
src/Autocomplete/assets/test Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ describe('AutocompleteController', () => {
139
139
} ) ;
140
140
141
141
it ( 'resets when ajax URL attribute on a select element changes' , async ( ) => {
142
- const { container, tomSelect} = await startAutocompleteTest ( `
142
+ const { container, tomSelect } = await startAutocompleteTest ( `
143
143
<label for="the-select">Items</label>
144
144
<select
145
145
id="the-select"
@@ -157,25 +157,25 @@ describe('AutocompleteController', () => {
157
157
results : [
158
158
{
159
159
value : 3 ,
160
- text : 'salad'
160
+ text : 'salad' ,
161
161
} ,
162
- ]
163
- } ) ,
162
+ ] ,
163
+ } )
164
164
) ;
165
165
166
166
fetchMock . mockResponseOnce (
167
167
JSON . stringify ( {
168
168
results : [
169
169
{
170
170
value : 1 ,
171
- text : 'pizza'
171
+ text : 'pizza' ,
172
172
} ,
173
173
{
174
174
value : 2 ,
175
- text : 'popcorn'
176
- }
177
- ]
178
- } ) ,
175
+ text : 'popcorn' ,
176
+ } ,
177
+ ] ,
178
+ } )
179
179
) ;
180
180
181
181
const controlInput = tomSelect . control_input ;
You can’t perform that action at this time.
0 commit comments