Skip to content

Commit 168ddf6

Browse files
committed
test(server): cover a stored ChatGPT account on a custom Codex provider
1 parent ad88caa commit 168ddf6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎apps/server/src/provider/ProviderRegistry.test.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,14 @@ it.layer(
574574
for (const account of [
575575
{ account: null, requiresOpenaiAuth: false },
576576
{ account: { type: "apiKey" as const }, requiresOpenaiAuth: false },
577+
{
578+
account: {
579+
type: "chatgpt" as const,
580+
581+
planType: "pro" as const,
582+
},
583+
requiresOpenaiAuth: false,
584+
},
577585
]) {
578586
const custom = yield* usageFor(account);
579587
assert.deepStrictEqual(custom?.windows, []);

0 commit comments

Comments
 (0)