mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 13:47:54 +00:00
Merge pull request #1601 from balena-io/v1-healthcheck-stub-fix
Call restore for each healthcheck stub in v1 tests
This commit is contained in:
commit
9abc4d76ed
@ -117,7 +117,7 @@ describe('SupervisorAPI [V1 Endpoints]', () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Restore healthcheck stubs
|
// Restore healthcheck stubs
|
||||||
healthCheckStubs.forEach((hc) => hc.restore);
|
healthCheckStubs.forEach((hc) => hc.restore());
|
||||||
// Remove any test data generated
|
// Remove any test data generated
|
||||||
await mockedAPI.cleanUp();
|
await mockedAPI.cleanUp();
|
||||||
appMock.unmockAll();
|
appMock.unmockAll();
|
||||||
|
Loading…
Reference in New Issue
Block a user