mirror of https://github.com/webpack/webpack.git
expanded test case a bit
This commit is contained in:
parent
a1ed89ecfa
commit
b6da0ee6d0
|
|
@ -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() {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
export var a = "a";
|
||||
export var b = "b";
|
||||
export var c = "c";
|
||||
export {c} from "./abc_c";
|
||||
|
|
@ -0,0 +1 @@
|
|||
export var c = "c";
|
||||
Loading…
Reference in New Issue