mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-01 19:20:10 +00:00
Add name field to BaseInputSpec (#226)
This commit is contained in:
@@ -56,8 +56,10 @@ describe('ComfyInputsSpec', () => {
|
||||
expect(intInput.min).toBe(0)
|
||||
expect(intInput.max).toBe(100)
|
||||
expect(intInput.default).toBe(50)
|
||||
expect(intInput.name).toBe('intInput')
|
||||
expect(stringInput.default).toBe('Hello')
|
||||
expect(stringInput.multiline).toBe(true)
|
||||
expect(stringInput.name).toBe('stringInput')
|
||||
})
|
||||
|
||||
it('should correctly transform optional input specs', () => {
|
||||
|
||||
Reference in New Issue
Block a user