mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 14:54:37 +00:00
Replace `vi.doMock` with `vi.mock` + `vi.hoisted` pattern for cleaner test mocking. - Add ESLint rule to prevent future `doMock` usage - Refactor `versionUtil.test.ts` and `firebaseAuthStore.test.ts` ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8319-refactor-replace-vi-doMock-with-vi-mock-vi-hoisted-2f46d73d365081ae9fccf2fa7471a75b) by [Unito](https://www.unito.io) Co-authored-by: Amp <amp@ampcode.com>