fixed test to include star import of reexported module

#1794
This commit is contained in:
Tobias Koppers 2015-12-23 16:34:20 +01:00
parent bde8636d92
commit 22c61618eb
1 changed files with 2 additions and 0 deletions

View File

@ -26,9 +26,11 @@ it("should import an identifier from a module", function() {
it("should import a whole module", function() {
abc.a.should.be.eql("a");
abc.b.should.be.eql("b");
abc.c.should.be.eql("c");
var copy = (function(a) { return a; }(abc));
copy.a.should.be.eql("a");
copy.b.should.be.eql("b");
copy.c.should.be.eql("c");
(typeof abc).should.be.eql("object");
});