We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5b09cb commit 95efb4bCopy full SHA for 95efb4b
test/compiler_test.exs
@@ -52,4 +52,12 @@ defmodule ElixirScript.Compiler.Test do
52
result = ElixirScript.Compiler.compile(Atom, [output: path])
53
assert File.exists?(path)
54
end
55
+
56
+ test "Output with FFI" do
57
+ path = System.tmp_dir()
58
59
+ result = ElixirScript.Compiler.compile(Main, [output: path])
60
+ assert File.exists?(Path.join([path, "Elixir.App.js"]))
61
+ assert File.exists?(Path.join([path, "data", "json.js"]))
62
+ end
63
0 commit comments