Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jun 4, 2018
1 parent c77ec39 commit c65d164
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/configCases/split-chunks/runtime-chunk/a.js
Expand Up @@ -3,4 +3,8 @@ it("should be able to load the split chunk on demand", () => {

const script = document.head._children[0];
expect(script.src).toBe("dep~b~shared.js");

__non_webpack_require__("./dep~b~shared.js");

return promise;
});

0 comments on commit c65d164

Please sign in to comment.