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

File index.js

test/cases/parsing/renaming/index.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1it("should be able to rename require by var", function() {
2 var cjsRequire; // just to make it difficult
3 var cjsRequire = require, cjsRequire2 = typeof require !== "undefined" && require;
4 expect(cjsRequire("./file")).toBe("ok");

Callers

nothing calls this directly

Calls 4

RFunction · 0.85
itFunction · 0.50
rFunction · 0.50
callMethod · 0.45

Tested by

no test coverage detected