Skip to content

Commit 7b084ea

Browse files
committed
test: use canonical keyless provider identifiers
1 parent 14f7277 commit 7b084ea

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/shared/__tests__/checkExistApiConfig.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ describe("checkExistKey", () => {
7272

7373
it("should return true for openai-codex provider without API key", () => {
7474
const config: ProviderSettings = {
75-
apiProvider: "openai-codex",
75+
apiProvider: providerIdentifiers.openaiCodex,
7676
}
7777
expect(checkExistKey(config)).toBe(true)
7878
})
7979

8080
it("should return true for qwen-code provider without API key", () => {
8181
const config: ProviderSettings = {
82-
apiProvider: "qwen-code",
82+
apiProvider: providerIdentifiers.qwenCode,
8383
}
8484
expect(checkExistKey(config)).toBe(true)
8585
})

0 commit comments

Comments
 (0)