Add name field to BaseInputSpec (#226)

This commit is contained in:
Chenlei Hu
2024-07-25 21:07:16 -04:00
committed by GitHub
parent 0ec15ba101
commit c97ff6fd85
2 changed files with 14 additions and 7 deletions

View File

@@ -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', () => {