Revert "Try altering cancelIdleCallback stub to see if that makes test deterministic"

This reverts commit d5148b6537944525414e918709d862d0593107d0.

Signed-off-by: Janne Savolainen <janne.savolainen@houston-inc.com>
This commit is contained in:
Janne Savolainen authored and Janne Savolainen committed 2021-12-04 12:20:41 +02:00
1 parent e793859d82
commit c57473c875
1 file changed
+1 -5
@@ -50,11 +50,7 @@ describe("kube-object-menu", () => {
return undefined; return undefined;
}; };
window.cancelIdleCallback = cancelIdleCallback => { window.cancelIdleCallback = () => {};
if (typeof cancelIdleCallback === "function") {
cancelIdleCallback();
}
};
apiManagerStub = { apiManagerStub = {
getStore: <TKubeObjectStore extends KubeObjectStore<KubeObject>>( getStore: <TKubeObjectStore extends KubeObjectStore<KubeObject>>(