summaryrefslogtreecommitdiffstats
path: root/js/xpconnect/tests/unit/es6module_cycle_b.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/xpconnect/tests/unit/es6module_cycle_b.js')
-rw-r--r--js/xpconnect/tests/unit/es6module_cycle_b.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/xpconnect/tests/unit/es6module_cycle_b.js b/js/xpconnect/tests/unit/es6module_cycle_b.js
new file mode 100644
index 0000000000..32725f0f0a
--- /dev/null
+++ b/js/xpconnect/tests/unit/es6module_cycle_b.js
@@ -0,0 +1,9 @@
+export const name = "b";
+
+import { name as cName } from "./es6module_cycle_c.js";
+
+export let loaded = true;
+
+export function getValueFromC() {
+ return cName;
+}