Skip to content

Commit 83caeb8

Browse files
committed
test: tighten parallels smoke model assertions
1 parent 2def317 commit 83caeb8

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

test/scripts/parallels-smoke-model.test.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,11 @@ const result = resolveWindowsProviderAuth({
275275
});
276276
console.log(JSON.stringify(result));
277277
`;
278-
expect(JSON.parse(runTsEval(source, { OPENAI_API_KEY: "sk-openai" }))).toMatchObject({
278+
expect(JSON.parse(runTsEval(source, { OPENAI_API_KEY: "sk-openai" }))).toEqual({
279279
apiKeyEnv: "OPENAI_API_KEY",
280+
apiKeyValue: "sk-openai",
281+
authChoice: "openai-api-key",
282+
authKeyFlag: "openai-api-key",
280283
modelId: "openai/gpt-5.5",
281284
});
282285

@@ -287,7 +290,11 @@ console.log(JSON.stringify(result));
287290
OPENCLAW_PARALLELS_WINDOWS_OPENAI_MODEL: "openai/custom-windows",
288291
}),
289292
),
290-
).toMatchObject({
293+
).toEqual({
294+
apiKeyEnv: "OPENAI_API_KEY",
295+
apiKeyValue: "sk-openai",
296+
authChoice: "openai-api-key",
297+
authKeyFlag: "openai-api-key",
291298
modelId: "openai/custom-windows",
292299
});
293300
});

0 commit comments

Comments
 (0)