Skip to content

Commit 0011b42

Browse files
committed
feat: Try to enable es6 module in node test
1 parent b5a2b47 commit 0011b42

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/dune

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
(modules test)
1717
(libraries binaryen)
1818
(modes exe js)
19+
(action
20+
(progn
21+
(with-stdout-to
22+
test_js.out
23+
(run node --input-type=module %{dep:test.bc.js}))
24+
(diff test_js.out test.expected)))
1925
(flags
2026
:standard
2127
(:include ./config/flags.sexp))

0 commit comments

Comments
 (0)