The test Router now takes location and navigator instead of history. This also means that the history function no longer needs to be mocked by jest. Instead, the location and pathname can simply be expected. |
||
|---|---|---|
| .. | ||
| CreateImageWizard.test.js | ||
The test Router now takes location and navigator instead of history. This also means that the history function no longer needs to be mocked by jest. Instead, the location and pathname can simply be expected. |
||
|---|---|---|
| .. | ||
| CreateImageWizard.test.js | ||