mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-06 00:48:36 +00:00
test(frontend): align Grok API key placeholder assertion
This commit is contained in:
1 file changed
+2
-1
@@ -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