Skip to content

Commit c65d164

Browse files
committed
fix test case
1 parent c77ec39 commit c65d164

File tree

1 file changed

+4
-0
lines changed
  • test/configCases/split-chunks/runtime-chunk

1 file changed

+4
-0
lines changed

test/configCases/split-chunks/runtime-chunk/a.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,8 @@ it("should be able to load the split chunk on demand", () => {
33

44
const script = document.head._children[0];
55
expect(script.src).toBe("dep~b~shared.js");
6+
7+
__non_webpack_require__("./dep~b~shared.js");
8+
9+
return promise;
610
});

0 commit comments

Comments
 (0)