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:
DrJKL
2026-05-25 23:04:42 -07:00
parent d8b39b28ba
commit 79494f65fc

View File

@@ -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)