Agent chat code cleanup (#13088)

This PR addresses feedback from
[PR-13061](https://github.com/twentyhq/twenty/pull/13061).

- Removed redundant type assertion from `apollo.factory.ts`.
- Removed redundant tests: Eliminated test cases that were specifically
added to boost coverage metrics rather than testing meaningful
functionality
This commit is contained in:
Abdul Rahman
2025-07-09 00:18:22 +05:30
committed by GitHub
parent 9eaa8ad517
commit c8ec44eeaf
5 changed files with 218 additions and 683 deletions

View File

@ -230,7 +230,7 @@ export class ApolloFactory<TCacheShape> implements ApolloManager<TCacheShape> {
retryLink,
restLink,
httpLink,
].filter(isDefined) as ApolloLink[],
].filter(isDefined),
);
};