We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb202ab commit 7060072Copy full SHA for 7060072
3 files changed
test/cases/parsing/harmony-edge-cases/a.js
@@ -0,0 +1,5 @@
1
+export default function test() { return "ok"; }
2
+
3
+var a = test();
4
5
+export { a };
test/cases/parsing/harmony-edge-cases/b.js
+var b = test();
+export { b };
test/cases/parsing/harmony-edge-cases/index.js
@@ -0,0 +1,8 @@
+import { a } from "./a";
+import x, { b } from "./b";
+it("should be able to use exported function", function() {
+ a.should.be.eql("ok");
6
+ b.should.be.eql("ok");
7
+ x().should.be.eql("ok");
8
+});
0 commit comments