Replaces 'vi.mocked(new ToolPermissionService())' with a plain mock object containing the necessary methods. This fixes the 'ToolPermissionService is not a constructor' error that was causing all tests to fail. Also adds getState method to artifactUpload mock for completeness. Co-authored-by: nate <nate@continue.dev> |
||
|---|---|---|
| .. | ||
| auth | ||
| commands | ||
| hooks | ||
| permissions | ||
| services | ||
| util | ||
| config.ts | ||
| configLoader.ts | ||
| logging.ts | ||
| systemMessage.ts | ||