mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
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:
parent
e793859d82
commit
c57473c875
@ -50,11 +50,7 @@ describe("kube-object-menu", () => {
|
||||
return undefined;
|
||||
};
|
||||
|
||||
window.cancelIdleCallback = cancelIdleCallback => {
|
||||
if (typeof cancelIdleCallback === "function") {
|
||||
cancelIdleCallback();
|
||||
}
|
||||
};
|
||||
window.cancelIdleCallback = () => {};
|
||||
|
||||
apiManagerStub = {
|
||||
getStore: <TKubeObjectStore extends KubeObjectStore<KubeObject>>(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user