mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-21 10:01:55 +00:00
Call restore for each healthcheck stub in v1 tests
Signed-off-by: Christina Wang <christina@balena.io> Change-type: patch
This commit is contained in:
parent
19079ae89d
commit
2953f313e6
@ -117,7 +117,7 @@ describe('SupervisorAPI [V1 Endpoints]', () => {
|
||||
}
|
||||
}
|
||||
// Restore healthcheck stubs
|
||||
healthCheckStubs.forEach((hc) => hc.restore);
|
||||
healthCheckStubs.forEach((hc) => hc.restore());
|
||||
// Remove any test data generated
|
||||
await mockedAPI.cleanUp();
|
||||
appMock.unmockAll();
|
||||
|
Loading…
x
Reference in New Issue
Block a user