Skip to content

Commit dface2b

Browse files
committed
add tests
1 parent 63fd342 commit dface2b

5 files changed

+29
-1
lines changed

jscomp/test/build.ninja

+3-1
Large diffs are not rendered by default.

jscomp/test/import_lazy_component.js

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jscomp/test/import_lazy_component.res

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
let a = Belt.Array.map([1], x => x)

jscomp/test/import_unnecessary.js

+11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jscomp/test/import_unnecessary.res

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Import_lazy_component is not a pure module
2+
// It is supposed not to be required by dynamic import
3+
let a = Js.import(Import_lazy_component.a)

0 commit comments

Comments
 (0)