mirror of
https://github.com/stablyai/orca.git
synced 2026-10-01 08:01:56 +00:00
test: finish sidebar lazy imports before teardown (#23694)
This commit is contained in:
+2
@@ -463,6 +463,8 @@ describe('WorktreeCard agent-list <-> child-worktrees expansion coupling', () =>
|
||||
for (const root of mountedRoots.splice(0)) {
|
||||
root.unmount()
|
||||
}
|
||||
// Lazy markdown imports must finish before Vitest tears down the module environment.
|
||||
await vi.dynamicImportSettled()
|
||||
})
|
||||
document.body.innerHTML = ''
|
||||
clearWorktreeAgentExpansionStateForTests()
|
||||
|
||||
Reference in New Issue
Block a user