Skip to content

Commit

Permalink
test: fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
kaustavb12 committed Jun 14, 2024
1 parent 21d3c14 commit a439aa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/selectors/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ describe('root selectors', () => {
});
describe.each([
['neither', () => false],
['only filter1', (v) => v === filters[0]],
['only filter2', (v) => v === filters[1]],
['only filter1', (n, v) => v === filters[0]],
['only filter2', (n, v) => v === filters[1]],
])('%1 is default', (label, isDefaultFn) => {
it('returns isDefault: false, string value, and remaining filterConfig', () => {
selectors.filters.isDefault.mockImplementation(isDefaultFn);
Expand Down

0 comments on commit a439aa0

Please sign in to comment.