it("should be able to load the split chunk on demand", () => {
	const promise = import(/* webpackChunkName: "shared" */ "./shared");

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

@@ -215,13 +215,79 @@
 ed.js%22);
+%0A%0A%09__non_webpack_require__(%22./dep~b~shared.js%22);%0A%0A%09return promise;
 %0A%7D);%0A

fix test case