chore(runtime-code): delete outdated test case (#3036)

This commit is contained in:
Zardddddd60 2022-05-12 08:25:06 +08:00 committed by GitHub
parent f1d1cdbb69
commit eed3973459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -541,18 +541,6 @@ describe('scheduler', () => {
expect(count).toBe(5) 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 // #1947 flushPostFlushCbs should handle nested calls
// e.g. app.mount inside app.mount // e.g. app.mount inside app.mount
test('flushPostFlushCbs', async () => { test('flushPostFlushCbs', async () => {