Updated to stryker v4

This commit is contained in:
Alejandro Celaya
2020-11-13 23:06:03 +01:00
parent 5c80e853c6
commit 0671fa6567
10 changed files with 378 additions and 178 deletions

View File

@@ -82,7 +82,7 @@ describe('selectedServerReducer', () => {
it('dispatches error when health endpoint fails', async () => {
const id = uuid();
const getState = createGetStateMock(id);
const expectedSelectedServer: NonReachableServer = { ...selectedServer, serverNotReachable: true };
const expectedSelectedServer = Mock.of<NonReachableServer>({ ...selectedServer, serverNotReachable: true });
apiClientMock.health.mockRejectedValue({});