MCPcopy Index your code
hub / github.com/codeaashu/claude-code / testRemoteManagedSettings

Function testRemoteManagedSettings

scripts/test-services.ts:97–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95}
96
97async function testRemoteManagedSettings() {
98 console.log('\n--- Remote Managed Settings ---')
99 try {
100 const rms = await import('../src/services/remoteManagedSettings/index.js')
101
102 // isEligibleForRemoteManagedSettings should return false without auth
103 const eligible = rms.isEligibleForRemoteManagedSettings()
104 pass('isEligibleForRemoteManagedSettings', `returns ${eligible} (expected false in test env)`)
105
106 // waitForRemoteManagedSettingsToLoad should resolve immediately if not eligible
107 await rms.waitForRemoteManagedSettingsToLoad()
108 pass('waitForRemoteManagedSettingsToLoad', 'resolves immediately when not eligible')
109 } catch (err: any) {
110 fail('Remote managed settings', err.message)
111 }
112}
113
114async function testBootstrapData() {
115 console.log('\n--- Bootstrap Data ---')

Callers 1

mainFunction · 0.85

Calls 2

passFunction · 0.85
failFunction · 0.85

Tested by

no test coverage detected