/**
 * 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() {
  const config = getClientConfig()
  const isConfigured = isGitHubConfigured()
  const githubConfig = getGitHubConfig()

  return {
    config,
    isConfigured,
    githubConfig
  }
}

// Auto-run test in browser
if (typeof window !== 'undefined') {
  testClientConfig()
}
