mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-24 00:34:09 +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', () => {
|
||||
const inputDefs: Record<string, InputSpec> = {}
|
||||
const widgets: IWidget[] = []
|
||||
const widgetValues: any[] = []
|
||||
const widgetValues: unknown[] = []
|
||||
|
||||
const result = migrateWidgetsValues(inputDefs, widgets, widgetValues)
|
||||
expect(result).toEqual([])
|
||||
|
||||
Reference in New Issue
Block a user