From eed3973459999260064d211e0b19f0a1dcef86c7 Mon Sep 17 00:00:00 2001 From: Zardddddd60 Date: Thu, 12 May 2022 08:25:06 +0800 Subject: [PATCH] chore(runtime-code): delete outdated test case (#3036) --- packages/runtime-core/__tests__/scheduler.spec.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/runtime-core/__tests__/scheduler.spec.ts b/packages/runtime-core/__tests__/scheduler.spec.ts index fbea3e77..4518035f 100644 --- a/packages/runtime-core/__tests__/scheduler.spec.ts +++ b/packages/runtime-core/__tests__/scheduler.spec.ts @@ -541,18 +541,6 @@ describe('scheduler', () => { expect(count).toBe(5) }) - test('should prevent duplicate queue', async () => { - let count = 0 - const job = () => { - count++ - } - job.cb = true - queueJob(job) - queueJob(job) - await nextTick() - expect(count).toBe(1) - }) - // #1947 flushPostFlushCbs should handle nested calls // e.g. app.mount inside app.mount test('flushPostFlushCbs', async () => {