diff options
| author | Brandon Keiji <[email protected]> | 2025-05-23 22:35:50 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-23 22:35:50 +0000 |
| commit | 197c5b2bdfd9e03e51ea74480c83ad212b0e8a03 (patch) | |
| tree | 28bbfa0562eceee1ee79f3744a6f012f1b773d2c /packages/server/src | |
| parent | 1ff083af273a5c250ae745712eaee97cec1d5f18 (diff) | |
infra: emit errors on no-explicit-any eslint rule (#516)
Diffstat (limited to 'packages/server/src')
| -rw-r--r-- | packages/server/src/utils/memoryDiscovery.test.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/server/src/utils/memoryDiscovery.test.ts b/packages/server/src/utils/memoryDiscovery.test.ts index 78ba1ba7..229f51e5 100644 --- a/packages/server/src/utils/memoryDiscovery.test.ts +++ b/packages/server/src/utils/memoryDiscovery.test.ts @@ -174,6 +174,7 @@ describe('loadServerHierarchicalMemory', () => { ] as Dirent[]; } return [] as Dirent[]; + // eslint-disable-next-line @typescript-eslint/no-explicit-any }) as any); const { memoryContent, fileCount } = await loadServerHierarchicalMemory( @@ -246,6 +247,7 @@ describe('loadServerHierarchicalMemory', () => { ] as Dirent[]; } return [] as Dirent[]; + // eslint-disable-next-line @typescript-eslint/no-explicit-any }) as any); const { memoryContent, fileCount } = await loadServerHierarchicalMemory( @@ -324,6 +326,7 @@ describe('loadServerHierarchicalMemory', () => { ] as Dirent[]; } return [] as Dirent[]; + // eslint-disable-next-line @typescript-eslint/no-explicit-any }) as any); const { memoryContent, fileCount } = await loadServerHierarchicalMemory( @@ -362,6 +365,7 @@ describe('loadServerHierarchicalMemory', () => { if (p.toString().startsWith(path.join(CWD, 'deep_dir_'))) return [] as Dirent[]; return [] as Dirent[]; + // eslint-disable-next-line @typescript-eslint/no-explicit-any }) as any); mockFs.access.mockRejectedValue(new Error('not found')); |
