KamoCRM

The rest of the red on a clean install — registry mocks, shared-lib lookup, a typed fetch mock

Fixkamo-internal
সারি
২৮ সেপ্টেম্বর, ২০২৬ এ ৯:৩৫ AM UTC
লেখক
Kamo
মন্তব্য@ info: status
c821613

- ToolDock and MaximizedTabStrip mocked ../registry/tools without windowIcon, which both now call for every window (af879443f), so 36 tests threw on the first render. The mocks supply it off their synthetic registry. - billingCycles and docsCategories found shared-lib only at cwd/../ and read the enum in the body of a describe.skipIf. Vitest runs a skipped suite's body to collect it, so without a sibling checkout (any worktree) the file failed with ENOENT instead of skipping. They now use sharedLibPath (KAMO_SHARED_LIB, else the sibling) and read in beforeAll. - campaignAudienceApi.test.ts: vi.fn(async () => …) typed mock.calls as [], the only four tsc --noEmit errors on a clean install. vi.fn<typeof fetch>.

সব পরিবর্তন

যেমন তুমি জাহাজ দেখেছ?

সব কিছু তোমার নিজের কাজে এসেছে. বিনামূল্যে পরিকল্পনা চালু করুন এবং মাসে পুনরায় এই পাতাটি পড়ুন।.

চিরকালের জন্য মুক্তকরণ আরম্ভ করা হবেপ্রদর্শন সংক্রান্ত পছন্দ