Skip to content

Commit 79040af

Browse files
committed
fix tests
1 parent 4e17463 commit 79040af

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cache/__tests__/cache.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ describe('Cache Middleware Tests', () => {
2323
let mockRes
2424
let mockNext
2525

26+
beforeAll(() => {
27+
// Enable caching for tests
28+
process.env.CACHING = 'true'
29+
})
30+
2631
beforeEach(() => {
2732
// Clear cache before each test
2833
cache.clear()

0 commit comments

Comments
 (0)