Tests: speed up channel setup promotion · openclaw/openclaw@82b529a
gumadeiras
·
2026-04-17
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -import { afterAll, beforeAll, describe, expect, it, vi } from "vitest"; |
| 1 | +import { afterAll, beforeEach, describe, expect, it, vi } from "vitest"; |
2 | 2 | import { |
3 | 3 | resolveSetupWizardAllowFromEntries, |
4 | 4 | resolveSetupWizardGroupAllowlist, |
@@ -102,7 +102,7 @@ function resolveMatrixSingleAccountPromotionTarget(params: {
|
102 | 102 | return namedAccounts.length === 1 ? namedAccounts[0] : DEFAULT_ACCOUNT_ID; |
103 | 103 | } |
104 | 104 | |
105 | | -beforeAll(() => { |
| 105 | +beforeEach(() => { |
106 | 106 | setActivePluginRegistry( |
107 | 107 | createTestRegistry([ |
108 | 108 | { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。