mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-12 18:43:50 +00:00
Updated to stryker v4
This commit is contained in:
@@ -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({});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user