mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-20 21:23:23 +00:00
fix(tests): serialize shared channel audit state cases
This commit is contained in:
@@ -371,11 +371,9 @@ describe("security audit", () => {
|
||||
cases: readonly T[],
|
||||
run: (testCase: T, tmp: string) => Promise<void>,
|
||||
) => {
|
||||
await Promise.all(
|
||||
cases.map(async (testCase) => {
|
||||
await withChannelSecurityStateDir(async (tmp) => run(testCase, tmp));
|
||||
}),
|
||||
);
|
||||
for (const testCase of cases) {
|
||||
await withChannelSecurityStateDir(async (tmp) => run(testCase, tmp));
|
||||
}
|
||||
};
|
||||
|
||||
const runSharedExtensionsAudit = async (config: OpenClawConfig) => {
|
||||
|
||||
Reference in New Issue
Block a user