mirror of https://github.com/vuejs/core.git
chore: only wrap during tests
This commit is contained in:
parent
7e8f175db7
commit
a6be280fc3
|
@ -271,8 +271,11 @@ export const enum MoveType {
|
|||
}
|
||||
|
||||
export const queuePostRenderEffect = __FEATURE_SUSPENSE__
|
||||
? (fn: Function | Function[], suspense: SuspenseBoundary | null) =>
|
||||
queueEffectWithSuspense(fn, suspense)
|
||||
? __TEST__
|
||||
? // vitest can't seem to handle eager circular dependency
|
||||
(fn: Function | Function[], suspense: SuspenseBoundary | null) =>
|
||||
queueEffectWithSuspense(fn, suspense)
|
||||
: queueEffectWithSuspense
|
||||
: queuePostFlushCb
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue