Fixed tests

This commit is contained in:
Alejandro Celaya
2020-03-15 09:56:16 +01:00
parent 8223f0fd64
commit 7db222664d
4 changed files with 39 additions and 24 deletions

View File

@@ -72,7 +72,7 @@ describe('selectedServerReducer', () => {
});
it('dispatches error when health endpoint fails', async () => {
const expectedSelectedServer = { serverNotReachable: true };
const expectedSelectedServer = { ...selectedServer, serverNotReachable: true };
apiClientMock.health.mockRejectedValue({});