From db6f2174db9119b34d2c4cee81a56c7293b40091 Mon Sep 17 00:00:00 2001 From: ealush Date: Sun, 21 Jul 2024 12:20:53 +0300 Subject: [PATCH] Remove two cache invalidations --- packages/vest/src/core/VestBus/VestBus.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/vest/src/core/VestBus/VestBus.ts b/packages/vest/src/core/VestBus/VestBus.ts index aa22a0b8e..29dd722f6 100644 --- a/packages/vest/src/core/VestBus/VestBus.ts +++ b/packages/vest/src/core/VestBus/VestBus.ts @@ -22,11 +22,11 @@ export function useInitVestBus() { // Report a the completion of a test. There may be other tests with the same // name that are still running, or not yet started. - on(Events.TEST_COMPLETED, () => {}); + // on(Events.TEST_COMPLETED, () => {}); - on(Events.TEST_RUN_STARTED, () => { - /* Let's just invalidate the suite cache for now */ - }); + // on(Events.TEST_RUN_STARTED, () => { + // /* Let's just invalidate the suite cache for now */ + // }); on(RuntimeEvents.ISOLATE_PENDING, (isolate: TIsolate) => { if (VestTest.is(isolate)) {