mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 19:21:54 +00:00
test: remove any from litegraphUtil.test.ts
- Replace widgetValues: any[] with unknown[]
This commit is contained in:
@@ -56,7 +56,7 @@ describe('migrateWidgetsValues', () => {
|
|||||||
it('should handle empty widgets and values', () => {
|
it('should handle empty widgets and values', () => {
|
||||||
const inputDefs: Record<string, InputSpec> = {}
|
const inputDefs: Record<string, InputSpec> = {}
|
||||||
const widgets: IWidget[] = []
|
const widgets: IWidget[] = []
|
||||||
const widgetValues: any[] = []
|
const widgetValues: unknown[] = []
|
||||||
|
|
||||||
const result = migrateWidgetsValues(inputDefs, widgets, widgetValues)
|
const result = migrateWidgetsValues(inputDefs, widgets, widgetValues)
|
||||||
expect(result).toEqual([])
|
expect(result).toEqual([])
|
||||||
|
|||||||
Reference in New Issue
Block a user