chore(runtime-code): delete outdated test case (#3036)
This commit is contained in:
parent
f1d1cdbb69
commit
eed3973459
@ -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 () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user