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.
VMModule
1 parent 54ce105 commit 3ff0916Copy full SHA for 3ff0916
packages/jest-runtime/src/index.ts
@@ -689,7 +689,7 @@ export default class Runtime {
689
async unstable_importModule(
690
from: string,
691
moduleName?: string,
692
- ): Promise<VMModule | void> {
+ ): Promise<unknown | void> {
693
invariant(
694
runtimeSupportsVmModules,
695
'You need to run with a version of node that supports ES Modules in the VM API. See https://jestjs.io/docs/ecmascript-modules',
0 commit comments