We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e8f175 commit a6be280Copy full SHA for a6be280
packages/runtime-core/src/renderer.ts
@@ -271,8 +271,11 @@ export const enum MoveType {
271
}
272
273
export const queuePostRenderEffect = __FEATURE_SUSPENSE__
274
- ? (fn: Function | Function[], suspense: SuspenseBoundary | null) =>
275
- queueEffectWithSuspense(fn, suspense)
+ ? __TEST__
+ ? // vitest can't seem to handle eager circular dependency
276
+ (fn: Function | Function[], suspense: SuspenseBoundary | null) =>
277
+ queueEffectWithSuspense(fn, suspense)
278
+ : queueEffectWithSuspense
279
: queuePostFlushCb
280
281
/**
0 commit comments