File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
/test.js
2
2
/node- *
3
- /lib /events.js
3
+ /lib /events.js
4
+ /test /additional-modules /my-es-module /index.js
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ export interface VMRequire {
82
82
/** Collection of mock modules (both external or built-in). */
83
83
mock ?: any ;
84
84
/* An additional lookup function in case a module wasn't found in one of the traditional node lookup paths. */
85
- resolve ?: ( moduleName : string , parentDirname : string ) => string | { path : string } | undefined ;
85
+ resolve ?: ( moduleName : string , parentDirname : string ) => string | { path : string , module ?: string } | undefined ;
86
86
/** Custom require to require host and built-in modules. */
87
87
customRequire ?: ( id : string ) => any ;
88
88
/** Load modules in strict mode. (default: true) */
You can’t perform that action at this time.
0 commit comments