fix(test): add missing loadProjectConfig mock to concurrency tests
taskExecution.ts now imports loadProjectConfig, but the mock in runAllTasks-concurrency.test.ts did not export it, causing 10 failures.
This commit is contained in:
parent
f065ee510f
commit
ad0efa12ac
@ -16,6 +16,10 @@ vi.mock('../infra/config/index.js', () => ({
|
||||
concurrency: 1,
|
||||
taskPollIntervalMs: 500,
|
||||
})),
|
||||
loadProjectConfig: vi.fn(() => ({
|
||||
piece: 'default',
|
||||
permissionMode: 'default',
|
||||
})),
|
||||
}));
|
||||
|
||||
import { loadGlobalConfig } from '../infra/config/index.js';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user