Skip to content

Commit 7704f33

Browse files
committed
test: fix module resetting
1 parent 3637b2f commit 7704f33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unittests/chronikService.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ const originalEnv = process.env
330330

331331
describe('ChronikBlockchainClient tests', () => {
332332
beforeEach(() => {
333-
jest.resetModules()
333+
jest.clearAllMocks()
334334
process.env = { ...originalEnv }
335335
process.env.WS_AUTH_KEY = 'test-auth-key'
336336
})

0 commit comments

Comments
 (0)