Skip to content

Commit 2637ed4

Browse files
committed
test(MongoBinaryDownload): restore all mocks after an test
1 parent df40f40 commit 2637ed4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/mongodb-memory-server-core/src/util/__tests__/MongoBinaryDownload.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jest.mock('mkdirp');
1313
describe('MongoBinaryDownload', () => {
1414
afterEach(() => {
1515
delete process.env[envName(ResolveConfigVariables.MD5_CHECK)];
16+
jest.restoreAllMocks();
1617
});
1718

1819
it('checkMD5 attribute can be set via constructor parameter', () => {

0 commit comments

Comments
 (0)