toStrictEqual
Different URLs match with This repo reproduces a bug in Jest, where totally different URL objects are treated as the same in the toStrictEqual
matcher.
If you run the tests, you should see a (spurious) failure.
$ npm install
$ npm test