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> |
||
|---|---|---|
| .. | ||
| BaseService.ts | ||
| index.ts | ||
| ServiceContainer.ts | ||
| ServiceContainerContext.ts | ||