We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b53be29 commit a7fe846Copy full SHA for a7fe846
2 files changed
packages/jest-mock/src/__tests__/index.test.ts
@@ -6,8 +6,6 @@
6
*
7
*/
8
9
-'use strict';
10
-
11
import vm from 'vm';
12
13
describe('moduleMocker', () => {
packages/jest-mock/src/index.ts
@@ -1092,4 +1092,5 @@ class ModuleMockerClass {
1092
}
1093
1094
export type ModuleMocker = ModuleMockerClass;
1095
-module.exports = new ModuleMockerClass(global);
+
1096
+export default new ModuleMockerClass(global);
0 commit comments