mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-03 04:31:58 +00:00
[Refactor] Move zod schemas to schemas/ folder (#2753)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { createPinia, setActivePinia } from 'pinia'
|
||||
|
||||
import { useComboWidget } from '@/composables/widgets/useComboWidget'
|
||||
import type { InputSpec } from '@/types/apiTypes'
|
||||
import type { InputSpec } from '@/schemas/apiSchema'
|
||||
|
||||
jest.mock('@/scripts/widgets', () => ({
|
||||
addValueControlWidgets: jest.fn()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import axios from 'axios'
|
||||
|
||||
import { useRemoteWidget } from '@/composables/widgets/useRemoteWidget'
|
||||
import type { ComboInputSpecV2 } from '@/types/apiTypes'
|
||||
import type { ComboInputSpecV2 } from '@/schemas/apiSchema'
|
||||
|
||||
jest.mock('axios', () => ({
|
||||
get: jest.fn()
|
||||
|
||||
Reference in New Issue
Block a user