summaryrefslogtreecommitdiff
path: root/cli/tests/bundle.test.out
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2020-10-23 22:05:41 +1100
committerGitHub <noreply@github.com>2020-10-23 22:05:41 +1100
commitab898556a490d78d93e806ea3ee31147117102e3 (patch)
tree48b724d534f0b8b112f0e5d7ae23fd9c3a54dee4 /cli/tests/bundle.test.out
parenta3024a6dc5c27317049a39ad8cb3e54368429dbf (diff)
refactor(cli): move bundle check to new infrastructure (#8071)
Diffstat (limited to 'cli/tests/bundle.test.out')
-rw-r--r--cli/tests/bundle.test.out43
1 files changed, 22 insertions, 21 deletions
diff --git a/cli/tests/bundle.test.out b/cli/tests/bundle.test.out
index eba439424..d90dc9f95 100644
--- a/cli/tests/bundle.test.out
+++ b/cli/tests/bundle.test.out
@@ -1,22 +1,23 @@
[WILDCARD]
-let System, __instantiate;
-(() => {
-[WILDCARD]
-})();
-
-System.register("print_hello", [], function (exports_1, context_1) {
-[WILDCARD]
-});
-System.register("subdir2/mod2", ["print_hello"], function (exports_2, context_2) {
-[WILDCARD]
-});
-System.register("mod1", ["subdir2/mod2"], function (exports_3, context_3) {
-[WILDCARD]
-});
-
-const __exp = __instantiate("mod1", false);
-export const returnsHi = __exp["returnsHi"];
-export const returnsFoo2 = __exp["returnsFoo2"];
-export const printHello3 = __exp["printHello3"];
-export const throwsError = __exp["throwsError"];
-[WILDCARD]
+function printHello() {
+ console.log("Hello");
+}
+function returnsFoo() {
+ return "Foo";
+}
+function printHello2() {
+ printHello();
+}
+export function returnsHi() {
+ return "Hi";
+}
+export function returnsFoo2() {
+ return returnsFoo();
+}
+export function printHello3() {
+ printHello2();
+}
+export function throwsError() {
+ throw Error("exception from mod1");
+}
+[WILDCARD] \ No newline at end of file