We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0577bb5 commit 7af6696Copy full SHA for 7af6696
backend/src/__tests__/agent-registry.test.ts
@@ -58,7 +58,7 @@ mockModule('../util/logger', () => ({
58
}))
59
60
// Create mock static templates that will be used by the agent registry
61
-const mockStaticTemplates = {
+const mockStaticTemplates: Record<string, AgentTemplate> = {
62
base: {
63
id: 'base',
64
displayName: 'Base Agent',
@@ -89,11 +89,6 @@ const mockStaticTemplates = {
89
},
90
}
91
92
-// Mock agent-list
93
-mockModule('../templates/agent-list', () => ({
94
- agentTemplates: mockStaticTemplates,
95
-}))
96
-
97
// Mock validation functions
98
mockModule('@codebuff/common/templates/agent-validation', () => ({
99
validateAgents: (agentTemplates: Record<string, DynamicAgentTemplate> = {}) => {
0 commit comments