File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
main/scala/org/scalajs/jsenv/nodejs
test/scala/org/scalajs/jsenv/nodejs Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ object NodeJSEnv {
146
146
* `import()` cannot be used from the standard input).
147
147
*/
148
148
val importChain = input.foldLeft(" Promise.resolve()" ) { (prev, item) =>
149
- s " $prev. \n then( ${execInputExpr(item)}) "
149
+ s " $prev. \n then(() => ${execInputExpr(item)}) "
150
150
}
151
151
val importerFileContent = {
152
152
s """
Original file line number Diff line number Diff line change @@ -19,6 +19,5 @@ import org.junit.runner.RunWith
19
19
@ RunWith (classOf [JSEnvSuiteRunner ])
20
20
class NodeJSSuite extends JSEnvSuite (
21
21
JSEnvSuiteConfig (new NodeJSEnv )
22
- .withSupportsESModules(false ) // #17
23
22
.withExitJSStatement(" process.exit(0);" )
24
23
)
You can’t perform that action at this time.
0 commit comments