test(ci): fix release validation regressions

This commit is contained in:
Peter Steinberger
2026-04-29 06:54:47 +01:00
parent 6186ed2c07
commit 213f92a9ef
2 changed files with 2 additions and 2 deletions

View File

@@ -147,7 +147,7 @@ describe("diagnostic-trace-context", () => {
await runWithDiagnosticTraceContext(outer, async () => {
expect(getActiveDiagnosticTraceContext()).toEqual(outer);
await new Promise<void>((resolve) => setTimeout(resolve, 0));
await Promise.resolve();
expect(getActiveDiagnosticTraceContext()).toEqual(outer);
runWithDiagnosticTraceContext(inner, () => {

View File

@@ -199,7 +199,7 @@ describe("config footprint guardrails", () => {
}
expect(bundledSource).toContain("Bundled-channel config schemas");
expect(bundledSource).toContain("openclaw/plugin-sdk/channel-config-schema");
expect(legacySource).toContain("Deprecated bundled-channel compatibility surface");
expect(legacySource).toContain("Compatibility surface for bundled channel schemas");
expect(legacySource).toContain("openclaw/plugin-sdk/bundled-channel-config-schema");
expect(legacySource).toContain('export * from "./bundled-channel-config-schema.js";');
});