/** * Test client configuration * This file can be used to test if the client config is working properly */ import { getClientConfig, isGitHubConfigured, getGitHubConfig } from './clientConfig' export function testClientConfig() { console.log('๐Ÿงช Testing client configuration...') const config = getClientConfig() console.log('๐Ÿ“‹ Client config:', { hasGithubToken: !!config.githubToken, hasQuartzRepo: !!config.quartzRepo, githubTokenLength: config.githubToken?.length || 0, quartzRepo: config.quartzRepo }) const isConfigured = isGitHubConfigured() console.log('โœ… GitHub configured:', isConfigured) const githubConfig = getGitHubConfig() console.log('๐Ÿ”ง GitHub config:', githubConfig) return { config, isConfigured, githubConfig } } // Auto-run test in browser if (typeof window !== 'undefined') { testClientConfig() }