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

File index.js

test/cases/parsing/resolve-weak-context/index.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1it("should be able to use require.resolveWeak with expression", function() {
2 var expr = "file";
3 var id = require.resolveWeak("./dir/" + expr);
4 expect(id).toBe(require("./dir/file.js"));

Callers

nothing calls this directly

Calls 3

resolveWeakMethod · 0.80
itFunction · 0.50
requireFunction · 0.50

Tested by

no test coverage detected