Skip to content

Commit 213f92a

Browse files
committed
test(ci): fix release validation regressions
1 parent 6186ed2 commit 213f92a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/infra/diagnostic-trace-context.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ describe("diagnostic-trace-context", () => {
147147

148148
await runWithDiagnosticTraceContext(outer, async () => {
149149
expect(getActiveDiagnosticTraceContext()).toEqual(outer);
150-
await new Promise<void>((resolve) => setTimeout(resolve, 0));
150+
await Promise.resolve();
151151
expect(getActiveDiagnosticTraceContext()).toEqual(outer);
152152

153153
runWithDiagnosticTraceContext(inner, () => {

src/plugins/contracts/config-footprint-guardrails.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ describe("config footprint guardrails", () => {
199199
}
200200
expect(bundledSource).toContain("Bundled-channel config schemas");
201201
expect(bundledSource).toContain("openclaw/plugin-sdk/channel-config-schema");
202-
expect(legacySource).toContain("Deprecated bundled-channel compatibility surface");
202+
expect(legacySource).toContain("Compatibility surface for bundled channel schemas");
203203
expect(legacySource).toContain("openclaw/plugin-sdk/bundled-channel-config-schema");
204204
expect(legacySource).toContain('export * from "./bundled-channel-config-schema.js";');
205205
});

0 commit comments

Comments
 (0)