Add repro test case

This commit is contained in:
Florent Cailhol 2018-07-30 12:05:46 +02:00
parent 66bd18c470
commit 6c75313512
2 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1 @@
module.exports = () => 1;

View File

@ -0,0 +1,6 @@
import * as m from "./cjs";
it("should import the whole module", () => {
expect(typeof m).toBe("object");
expect(typeof m.default).toBe("function");
});