tc39 / eshost

A uniform wrapper around a multitude of ECMAScript hosts. CLI: https://github.com/bterlson/eshost-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

import() syntax for matching features

leobalter opened this issue · comments

import('./dynamic-import-module_FIXTURE.js')['then'](x => x)

eshost is not loading the fixture correctly for this case

same for:

const obj = {
    toString() {
        return './module-code_FIXTURE.js';
    }
};

import(obj)

this has been fixed for a while now.