Skip to content

Commit c948c81

Browse files
committed
added harmony test case
1 parent 808b32a commit c948c81

4 files changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export var c = "ok";
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default "ok";
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { c } from "./c";
2+
3+
import d from "./d";
4+
5+
export { c, d };
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { a } from "./a";
22
import x, { b } from "./b";
3+
import { c, d } from "./fake-reexport";
34

45
it("should be able to use exported function", function() {
56
a.should.be.eql("ok");
67
b.should.be.eql("ok");
78
x().should.be.eql("ok");
9+
c.should.be.eql("ok");
10+
d.should.be.eql("ok");
811
});

0 commit comments

Comments
 (0)