diff --git a/test/fixtures/transformation/es6-modules-system/exports-from/expected.js b/test/fixtures/transformation/es6-modules-system/exports-from/expected.js index 4586168df1..e84f56e0c3 100644 --- a/test/fixtures/transformation/es6-modules-system/exports-from/expected.js +++ b/test/fixtures/transformation/es6-modules-system/exports-from/expected.js @@ -1,28 +1,29 @@ System.register("es6-modules-system/exports-from/expected", ["foo"], function (_export) { - "use strict"; - - var __moduleName = "es6-modules-system/exports-from/expected"; - + var _foo; return { setters: [function (m) { - for (var i in m) { - _export(i, m[i]); + _foo = m + }], + execute: function () { + "use strict"; + + for (var i in _foo) { + _export(i, _foo[i]) } - _export("foo", m.foo); + _export("foo", _foo.foo); - _export("foo", m.foo); + _export("foo", _foo.foo); - _export("bar", m.bar); + _export("bar", _foo.bar); - _export("bar", m.foo); + _export("bar", _foo.foo); - _export("default", m.foo); + _export("default", _foo.foo); - _export("default", m.foo); + _export("default", _foo.foo); - _export("bar", m.bar); - }], - execute: function () {} + _export("bar", _foo.bar); + } }; });