Skip to content

Commit

Permalink
clear all in cache test too
Browse files Browse the repository at this point in the history
  • Loading branch information
jtoar committed Mar 2, 2023
1 parent 3b1f8fa commit 1a3a892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/cache/__tests__/cacheFindMany.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jest.mock('@prisma/client', () => ({

describe('cacheFindMany', () => {
afterEach(() => {
jest.restoreAllMocks()
jest.clearAllMocks()
})

it('adds the collection to the cache based on latest updated user', async () => {
Expand Down

0 comments on commit 1a3a892

Please sign in to comment.