Skip to content

Commit bb62284

Browse files
committed
test(ci): type default runner backend fixture
1 parent ac19a21 commit bb62284

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎test/scripts/ci-workflow-guards.test.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5920,7 +5920,7 @@ printf '%s\n' "\${CURL_SUCCESS_IP:-203.0.113.7}"
59205920
}),
59215921
);
59225922

5923-
for (const runnerBackend of ["", "github", "hybrid"] as const) {
5923+
for (const runnerBackend of [undefined, "github", "hybrid"] as const) {
59245924
const push = runCiManifestFixture({
59255925
bundledPlanner: true,
59265926
eventName: "push",
@@ -5931,15 +5931,15 @@ printf '%s\n' "\${CURL_SUCCESS_IP:-203.0.113.7}"
59315931
JSON.parse(
59325932
expectDefined(
59335933
push.outputs.checks_node_core_nondist_matrix,
5934-
`${runnerBackend || "default"} push node core nondist matrix output`,
5934+
`${runnerBackend ?? "default"} push node core nondist matrix output`,
59355935
),
59365936
).include,
59375937
).toContainEqual(
59385938
expect.objectContaining({
59395939
check_name: "bundled-node-plan",
59405940
env: {
59415941
OPENCLAW_CI_TEST_COMPACT_MODE: "push",
5942-
OPENCLAW_CI_TEST_RUNNER_BACKEND: runnerBackend,
5942+
OPENCLAW_CI_TEST_RUNNER_BACKEND: runnerBackend ?? "",
59435943
},
59445944
}),
59455945
);

0 commit comments

Comments
 (0)