Skip to content

Commit

Permalink
Remove unnecessary cache check
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorgomezv committed Jul 26, 2024
1 parent 42d9c6c commit e4138c0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/datasources/db/cached-query-resolver.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ describe('CachedQueryResolver', () => {
key: 'key',
field: 'field',
});
const cacheContent = await fakeCacheService.get(cacheDir);
expect(cacheContent).toBe(JSON.stringify(value));
});

it('should execute the query and cache the result if the cache is empty', async () => {
Expand Down

0 comments on commit e4138c0

Please sign in to comment.