mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-27 08:25:50 +00:00
test: pass required values option to combo addWidget in quarantine test
Amp-Thread-ID: https://ampcode.com/threads/T-019e62a1-800f-714b-85f8-e227ef57c1d0 Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
@@ -1306,7 +1306,8 @@ describe('SubgraphWidgetPromotion', () => {
|
||||
'combo',
|
||||
'unet_name',
|
||||
'z_image_turbo_bf16.safetensors',
|
||||
() => {}
|
||||
() => {},
|
||||
{ values: ['z_image_turbo_bf16.safetensors'] }
|
||||
)
|
||||
unetInput.widget = { name: 'unet_name' }
|
||||
subgraph.add(unetNode)
|
||||
@@ -1318,7 +1319,8 @@ describe('SubgraphWidgetPromotion', () => {
|
||||
'combo',
|
||||
'clip_name',
|
||||
'qwen_3_4b.safetensors',
|
||||
() => {}
|
||||
() => {},
|
||||
{ values: ['qwen_3_4b.safetensors'] }
|
||||
)
|
||||
clipInput.widget = { name: 'clip_name' }
|
||||
subgraph.add(clipNode)
|
||||
|
||||
Reference in New Issue
Block a user