MCPcopy
hub / github.com/webpack/webpack / testLoad

Function testLoad

test/cases/chunks/named-chunks/index.js:12–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 });
11 }, "named-chunk");
12 function testLoad() {
13 require.ensure([], function(require) {
14 require("./empty?c");
15 require("./empty?d");
16 expect(sync).toBeTruthy();
17 done();
18 }, "named-chunk");
19 }
20});
21
22it("should handle empty named chunks", function(done) {

Callers 1

index.jsFile · 0.85

Calls 2

ensureMethod · 0.80
requireFunction · 0.50

Tested by

no test coverage detected