1 parent 82786ca commit f730570Copy full SHA for f730570
1 file changed
test/configCases/commons-chunk-plugin/hot-multi/vendor.js
@@ -1,3 +1,8 @@
1
require("./common");
2
3
module.exports = "vendor";
4
+
5
+it("should have the correct main flag for multi vendor module", function() {
6
+ var multiModule = __webpack_require__.c[module.parents[0]];
7
+ multiModule.hot._main.should.be.eql(true);
8
+});
0 commit comments