We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c3bef9 commit 1886105Copy full SHA for 1886105
4 files changed
test/cases/scope-hoisting/intra-references/a.js
@@ -0,0 +1 @@
1
+export { default } from "./b";
test/cases/scope-hoisting/intra-references/b.js
+export { default } from "./c";
test/cases/scope-hoisting/intra-references/c.js
+export default "ok";
test/cases/scope-hoisting/intra-references/index.js
@@ -0,0 +1,9 @@
+import value from "./a";
2
+
3
+it("should have the correct values", function() {
4
+ value.should.be.eql("ok");
5
+});
6
7
8
+// prevent scope hoisting of b
9
+require("./b");
0 commit comments