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 1125af3 commit bab6b97Copy full SHA for bab6b97
1 file changed
packages/jest-mock/src/index.ts
@@ -17,7 +17,8 @@ type MockFunctionMetadataType =
17
| 'null'
18
| 'undefined';
19
20
-export type MockFunctionMetadata<
+// TODO: bring this type export back once done with TS migration
21
+type MockFunctionMetadata<
22
T,
23
Y extends unknown[],
24
Type = MockFunctionMetadataType
@@ -1091,6 +1092,7 @@ class ModuleMockerClass {
1091
1092
}
1093
1094
-export type ModuleMocker = ModuleMockerClass;
1095
1096
+// export type ModuleMocker = ModuleMockerClass;
1097
-export default new ModuleMockerClass(global);
1098
+export = new ModuleMockerClass(global);
0 commit comments