Skip to content

Commit

Permalink
add expected test output
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Feb 3, 2019
1 parent e90c19a commit c3e5a60
Show file tree
Hide file tree
Showing 12 changed files with 115 additions and 0 deletions.
@@ -0,0 +1,17 @@
define(['require', 'exports'], function (require, exports) { 'use strict';

function foo() {
console.log('dep2');
}

Promise.resolve().then(function () { return dep1; });



var dep1 = /*#__PURE__*/Object.freeze({

});

exports.foo = foo;

});
@@ -0,0 +1,5 @@
define(['./generated-chunk.js'], function (dep1_js) { 'use strict';



});
@@ -0,0 +1,5 @@
define(['./generated-chunk.js'], function (dep1_js) { 'use strict';

dep1_js.foo();

});
@@ -0,0 +1,15 @@
'use strict';

function foo() {
console.log('dep2');
}

Promise.resolve().then(function () { return dep1; });



var dep1 = /*#__PURE__*/Object.freeze({

});

exports.foo = foo;
@@ -0,0 +1,4 @@
'use strict';

require('./generated-chunk.js');

@@ -0,0 +1,5 @@
'use strict';

var dep1_js = require('./generated-chunk.js');

dep1_js.foo();
@@ -0,0 +1,13 @@
function foo() {
console.log('dep2');
}

Promise.resolve().then(function () { return dep1; });



var dep1 = /*#__PURE__*/Object.freeze({

});

export { foo as a };
@@ -0,0 +1 @@
import './generated-chunk.js';
@@ -0,0 +1,3 @@
import { a as foo } from './generated-chunk.js';

foo();
@@ -0,0 +1,22 @@
System.register([], function (exports, module) {
'use strict';
return {
execute: function () {

exports('a', foo);

function foo() {
console.log('dep2');
}

Promise.resolve().then(function () { return dep1; });



var dep1 = /*#__PURE__*/Object.freeze({

});

}
};
});
@@ -0,0 +1,11 @@
System.register(['./generated-chunk.js'], function (exports, module) {
'use strict';
return {
setters: [function () {}],
execute: function () {



}
};
});
@@ -0,0 +1,14 @@
System.register(['./generated-chunk.js'], function (exports, module) {
'use strict';
var foo;
return {
setters: [function (module) {
foo = module.a;
}],
execute: function () {

foo();

}
};
});

0 comments on commit c3e5a60

Please sign in to comment.