Skip to content

Commit 0f6dc01

Browse files
committed
Missing module source
1 parent eeaa9cd commit 0f6dc01

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ thatGlobal.Function !== thisGlobal.Function;
8888
thatGlobal.eval('Object.getPrototypeOf(async () => {})') !== Object.getPrototypeOf(async () => {});
8989
thatGlobal.eval('Object.getPrototypeOf(function *() {})') !== Object.getPrototypeOf(function *() {});
9090
thatGlobal.eval('Object.getPrototypeOf(async function *() {})') !== Object.getPrototypeOf(async function *() {});
91+
const source = new ModuleSource('export default {}');
9192
(await thatGlobal.eval('(...args) => import(...args)')(source)) !== (await import(source));
9293
thatGlobal.ModuleSource === thisGlobal.ModuleSource;
9394
thatGlobal.x === thisGlobal.x;

0 commit comments

Comments
 (0)