Skip to content

test: add unit tests for getClientConfig#6839

Merged
TIANQIAN1238 merged 1 commit into
ChatGPTNextWeb:mainfrom
TIANQIAN1238:feat-test-get-client-config
Jul 6, 2026
Merged

test: add unit tests for getClientConfig#6839
TIANQIAN1238 merged 1 commit into
ChatGPTNextWeb:mainfrom
TIANQIAN1238:feat-test-get-client-config

Conversation

@TIANQIAN1238

Copy link
Copy Markdown
Contributor

💻 变更类型 | Change Type

  • test

🔀 变更说明 | Description of Change

Adds test/get-client-config.test.ts for the client-side branch of getClientConfig (app/config/client.ts): empty object when no config meta tag is present, and parsing the meta tag content when present. No production code is modified.

🤖 Generated with Claude Code

Cover the client-side branch of getClientConfig (app/config/client.ts): empty object with no config meta tag, and parsing the meta tag content when present.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@TIANQIAN1238 TIANQIAN1238 merged commit af9c14b into ChatGPTNextWeb:main Jul 6, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant