MCPcopy
hub / github.com/webpack/webpack / index.js

File index.js

test/cases/chunks/statical-dynamic-import-then/index.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1it("should load only used exports", async () => {
2 await import("../statical-dynamic-import/dir1/a").then(m => {
3 expect(m.default).toBe(3);
4 expect(m.usedExports).toEqual(["default", "usedExports"]);

Callers

nothing calls this directly

Calls 3

itFunction · 0.50
rFunction · 0.50
fMethod · 0.45

Tested by

no test coverage detected