mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
fix: update TopMenuSection test for isIdle change, add knip ignore for pending composable
This commit is contained in:
@@ -62,7 +62,9 @@ const config: KnipConfig = {
|
||||
// Agent review check config, not part of the build
|
||||
'.agents/checks/eslint.strict.config.js',
|
||||
// Loaded via @plugin directive in CSS, not detected by knip
|
||||
'packages/design-system/src/css/lucideStrokePlugin.js'
|
||||
'packages/design-system/src/css/lucideStrokePlugin.js',
|
||||
// Pending integration in stacked PR (concurrent job execution)
|
||||
'src/composables/useConcurrentExecution.ts'
|
||||
],
|
||||
compilers: {
|
||||
// https://github.com/webpro-nl/knip/issues/1008#issuecomment-3207756199
|
||||
|
||||
@@ -384,6 +384,17 @@ describe('TopMenuSection', () => {
|
||||
configureSettings(pinia, true)
|
||||
const executionStore = useExecutionStore(pinia)
|
||||
executionStore.activeJobId = 'job-1'
|
||||
executionStore.nodeProgressStatesByJob = {
|
||||
'job-1': {
|
||||
'node-1': {
|
||||
value: 50,
|
||||
max: 100,
|
||||
state: 'running',
|
||||
node_id: 'node-1',
|
||||
prompt_id: 'job-1'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const ComfyActionbarStub = createComfyActionbarStub(actionbarTarget)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user