mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
fix: resolve CI failures - update knip config and fix test mock
This commit is contained in:
parent
126e8c1135
commit
37ba1e77f6
2 changed files with 7 additions and 2 deletions
|
|
@ -7,7 +7,9 @@
|
|||
"src/activate/**",
|
||||
"src/workers/countTokens.ts",
|
||||
"src/extension.ts",
|
||||
"scripts/**"
|
||||
"scripts/**",
|
||||
"src/services/code-index/workers/embedding.worker.ts",
|
||||
"src/services/code-index/workers/file-processor.worker.ts"
|
||||
],
|
||||
"workspaces": {
|
||||
"src": {
|
||||
|
|
|
|||
|
|
@ -81,7 +81,10 @@ describe("CodeIndexManager - handleExternalSettingsChange regression", () => {
|
|||
;(manager as any)._configManager = mockConfigManager
|
||||
|
||||
// Simulate an initialized manager by setting the required properties
|
||||
;(manager as any)._orchestrator = { stopWatcher: vitest.fn() }
|
||||
;(manager as any)._orchestrator = {
|
||||
stopWatcher: vitest.fn(),
|
||||
dispose: vitest.fn().mockResolvedValue(undefined),
|
||||
}
|
||||
;(manager as any)._searchService = {}
|
||||
;(manager as any)._cacheManager = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue