Disallow unnecessary awaits. (#15172)

This commit is contained in:
Christian Gunderman
2025-12-16 21:28:18 -08:00
committed by GitHub
parent eedb6fa9ec
commit d2f8673c01
38 changed files with 129 additions and 106 deletions
+1 -3
View File
@@ -270,9 +270,7 @@ describe('AgentExecutor', () => {
);
parentToolRegistry.registerTool(MOCK_TOOL_NOT_ALLOWED);
vi.spyOn(mockConfig, 'getToolRegistry').mockResolvedValue(
parentToolRegistry,
);
vi.spyOn(mockConfig, 'getToolRegistry').mockReturnValue(parentToolRegistry);
mockedGetDirectoryContextString.mockResolvedValue(
'Mocked Environment Context',