Skip to content

Commit a1c4766

Browse files
committed
Restore mocks after every test
1 parent af52881 commit a1c4766

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/wrap.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const defaultMocksConfig = getMocksConfig()
1515

1616
function resetMocksConfig() {
1717
configureMocks(defaultMocksConfig)
18+
jest.restoreAllMocks()
1819
}
1920

2021
describe('burrito', () => {

0 commit comments

Comments
 (0)