Add repro test case
This commit is contained in:
parent
66bd18c470
commit
6c75313512
|
@ -0,0 +1 @@
|
|||
module.exports = () => 1;
|
|
@ -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");
|
||||
});
|
Loading…
Reference in New Issue