fix: Order of Select items when unselecting (#17169)

* fix: Order of Select items when unselecting

* Adds a property comparator that supports strings and numbers

* Uses a named export for propertyComparator
This commit is contained in:
Michael S. Molina
2021-10-25 08:47:01 -03:00
committed by GitHub
parent ef3afbde82
commit 55be249870
17 changed files with 216 additions and 112 deletions

View File

@@ -44,6 +44,7 @@ jest.mock('src/components/Select/Select', () => ({
</button>
</div>
),
propertyComparator: jest.fn(),
}));
fetchMock.get(datasetsOwnersEndpoint, {