diff options
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/bundle/fixture02.out | 6 | ||||
-rw-r--r-- | cli/tests/bundle/fixture11.out | 4 | ||||
-rw-r--r-- | cli/tests/bundle/fixture14.out | 24 |
3 files changed, 17 insertions, 17 deletions
diff --git a/cli/tests/bundle/fixture02.out b/cli/tests/bundle/fixture02.out index bd3e349bd..aad359fce 100644 --- a/cli/tests/bundle/fixture02.out +++ b/cli/tests/bundle/fixture02.out @@ -1,15 +1,15 @@ +const b = "b"; +console.log(b); const mod = function() { const c = "c"; - const c1 = c; class C { } const __default = C; + const c1 = c; return { c, default: C }; }(); const c = mod; -const b = "b"; -console.log(b); console.log(mod); diff --git a/cli/tests/bundle/fixture11.out b/cli/tests/bundle/fixture11.out index c09f0cac9..3dc1a454b 100644 --- a/cli/tests/bundle/fixture11.out +++ b/cli/tests/bundle/fixture11.out @@ -8,6 +8,8 @@ var O2; O1[O1["C"] = 2] = "C"; })(O2 || (O2 = { })); +const O1 = O2; +export { O1 as O }; class A { #a; #c; @@ -27,5 +29,3 @@ class A { const a2 = new A(); a2.a(); a2.c(); -const O1 = O2; -export { O1 as O }; diff --git a/cli/tests/bundle/fixture14.out b/cli/tests/bundle/fixture14.out index cb0b4834f..80532a1dd 100644 --- a/cli/tests/bundle/fixture14.out +++ b/cli/tests/bundle/fixture14.out @@ -1,31 +1,31 @@ const mod = function() { + const mod1 = []; + return { + mod: mod1 + }; +}(); +console.log(mod); +const mod1 = function() { const a = []; const a1 = a; return { a }; }(); -const a = mod; -const mod1 = function() { +const a = mod1; +const mod2 = function() { const b = []; const b1 = b; return { b }; }(); -const b = mod1; -const mod2 = function() { +const b = mod2; +const mod3 = function() { const c = []; const c1 = c; return { c }; }(); -const c = mod2; -const mod3 = function() { - const mod4 = []; - return { - mod: mod4 - }; -}(); -console.log(mod3); +const c = mod3; |