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 () => {