diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-01-01 06:24:05 -0500 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-03 09:45:40 -0500 |
commit | 7024d9f25394453d49486d5b2b1b5da6d369acb9 (patch) | |
tree | a54e95908fae946d7711bef0c90b27a0536921c8 /tests | |
parent | bba0ed3185f30218e015ccd32cc0c8ae14ebba01 (diff) |
Add rust binding and test for deno_execute_mod()
Diffstat (limited to 'tests')
-rw-r--r-- | tests/esm_imports_a.js | 3 | ||||
-rw-r--r-- | tests/esm_imports_b.js | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/esm_imports_a.js b/tests/esm_imports_a.js new file mode 100644 index 000000000..673cd9aa3 --- /dev/null +++ b/tests/esm_imports_a.js @@ -0,0 +1,3 @@ +import { retb } from "./esm_imports_b.js"; + +if (retb() != "b") throw Error(); diff --git a/tests/esm_imports_b.js b/tests/esm_imports_b.js new file mode 100644 index 000000000..321dfc05a --- /dev/null +++ b/tests/esm_imports_b.js @@ -0,0 +1,3 @@ +export function retb() { + return "b"; +} |