Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
pierredup committed Nov 20, 2024
1 parent d14a526 commit 2fbae82
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/Autocomplete/assets/test/controller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ describe('AutocompleteController', () => {
});

it('resets when ajax URL attribute on a select element changes', async () => {
const { container, tomSelect} = await startAutocompleteTest(`
const { container, tomSelect } = await startAutocompleteTest(`
<label for="the-select">Items</label>
<select
id="the-select"
Expand All @@ -157,25 +157,25 @@ describe('AutocompleteController', () => {
results: [
{
value: 3,
text: 'salad'
text: 'salad',
},
]
}),
],
})
);

fetchMock.mockResponseOnce(
JSON.stringify({
results: [
{
value: 1,
text: 'pizza'
text: 'pizza',
},
{
value: 2,
text: 'popcorn'
}
]
}),
text: 'popcorn',
},
],
})
);

const controlInput = tomSelect.control_input;
Expand Down

0 comments on commit 2fbae82

Please sign in to comment.