mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 22:37:32 +00:00
- Add @ts-expect-error directive to unused postSurveyStatus function in auth.ts - Add @ts-expect-error for .mts import extension in vite.electron.config.mts - Add @ts-expect-error directives for global variable assignments in vitest.setup.ts - Remove vite.electron.config.mts from ESLint allowDefaultProject to fix duplicate inclusion error
16 lines
677 B
TypeScript
16 lines
677 B
TypeScript
import 'vue'
|
|
|
|
// Define global variables for tests
|
|
// @ts-expect-error - Global variables are defined in global.d.ts
|
|
globalThis.__COMFYUI_FRONTEND_VERSION__ = '1.24.0'
|
|
// @ts-expect-error - Global variables are defined in global.d.ts
|
|
globalThis.__SENTRY_ENABLED__ = false
|
|
// @ts-expect-error - Global variables are defined in global.d.ts
|
|
globalThis.__SENTRY_DSN__ = ''
|
|
// @ts-expect-error - Global variables are defined in global.d.ts
|
|
globalThis.__ALGOLIA_APP_ID__ = ''
|
|
// @ts-expect-error - Global variables are defined in global.d.ts
|
|
globalThis.__ALGOLIA_API_KEY__ = ''
|
|
// @ts-expect-error - Global variables are defined in global.d.ts
|
|
globalThis.__USE_PROD_CONFIG__ = false
|