Skip to content

Commit

Permalink
Ensure static and dynamic imports use the same binding
Browse files Browse the repository at this point in the history
  • Loading branch information
ooflorent committed Jun 5, 2018
1 parent 5653732 commit aa6de57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/cases/chunks/issue-5153/index.js
@@ -0,0 +1,7 @@
import x from "./module";

it("should export the same binding", () => {
return import("./module").then(ns => {
expect(x).toBe(ns.default);
});
});
1 change: 1 addition & 0 deletions test/cases/chunks/issue-5153/module.js
@@ -0,0 +1 @@
export default {};

0 comments on commit aa6de57

Please sign in to comment.