Skip to content

Commit

Permalink
white space
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnC-80 committed Oct 24, 2024
1 parent 2a700f6 commit 7cfe4e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Selection/tests/Selection-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ describe('Selection', () => {
beforeEach(async () => {
filterSpy.resetHistory();
await mountWithContext(
<AsyncFilter filterSpy={filterSpy}/>
<AsyncFilter filterSpy={filterSpy} />
);
});

Expand All @@ -756,7 +756,7 @@ describe('Selection', () => {
await asyncSelection.filterOptions('tes');
});

it ('calls filter function only once (not for each letter)', async () => converge(() => { if (filterSpy.calledTwice) { throw new Error('Selection - onFilter should only be called once.'); }}));
it('calls filter function only once (not for each letter)', async () => converge(() => { if (filterSpy.calledTwice) { throw new Error('Selection - onFilter should only be called once.'); } }));

it('displays spinner in optionsList', () => asyncSelectionList().is({ loading: true }));

Expand Down

0 comments on commit 7cfe4e2

Please sign in to comment.