MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / cdn.test.ts

File cdn.test.ts

apps/kimi-code/test/cli/update/cdn.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, vi } from 'vitest';
2
3import { fetchLatestFromCdn, fetchLatestVersionFromCdn } from '#/cli/update/cdn';
4import { KIMI_CODE_CDN_LATEST_JSON_URL, KIMI_CODE_CDN_LATEST_URL } from '#/constant/app';

Callers

nothing calls this directly

Calls 6

fetchLatestFromCdnFunction · 0.90
mockFetchOkFunction · 0.85
mockFetchStatusFunction · 0.85
mockRoutedFetchFunction · 0.85
rejectFunction · 0.85

Tested by

no test coverage detected