Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Actually validate result in rootCozyUrl specs
Our `rootCozyUrl` specs where checking whether the returned URL was equal to the expected one but Jest's `toEqual` matcher does not properly check equality between URL instances. We'll now validate that the returned URL's `href` property has the expected value.
- Loading branch information
1 parent
9c7fe80
commit dbf6516
Showing
1 changed file
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters