mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 15:38:22 +08:00
Merge pull request #5839 from xuhaihan/test/fix-grok-api-key-placeholder
test(frontend): align Grok API key placeholder assertion
This commit is contained in:
@@ -14,7 +14,8 @@ describe('CreateAccountModal Grok account types', () => {
|
||||
expect(source).toContain("newPlatform === 'grok'")
|
||||
expect(source).toContain("? 'https://api.x.ai/v1'")
|
||||
expect(source).toContain("form.platform === 'grok'")
|
||||
expect(source).toContain("? 'xai-...'")
|
||||
expect(source).toContain(':placeholder="apiKeyValuePlaceholder"')
|
||||
expect(source).toContain("return 'xai-...'")
|
||||
})
|
||||
|
||||
it('exposes custom upstream URL and header override for the OAuth create flow', () => {
|
||||
|
||||
Reference in New Issue
Block a user