expanded test case a bit

This commit is contained in:
Tobias Koppers 2015-12-23 15:13:48 +01:00
parent a1ed89ecfa
commit b6da0ee6d0
3 changed files with 3 additions and 1 deletions

View File

@ -29,6 +29,7 @@ it("should import a whole module", function() {
var copy = (function(a) { return a; }(abc));
copy.a.should.be.eql("a");
copy.b.should.be.eql("b");
(typeof abc).should.be.eql("object");
});
it("should export functions", function() {

View File

@ -1,3 +1,3 @@
export var a = "a";
export var b = "b";
export var c = "c";
export {c} from "./abc_c";

1
test/cases/parsing/harmony/node_modules/abc_c.js generated vendored Normal file
View File

@ -0,0 +1 @@
export var c = "c";