MCPcopy
hub / github.com/webpack/webpack / testFunc

Function testFunc

test/cases/parsing/extract-require/index.js:20–22  ·  view source on GitHub ↗
(abc, require)

Source from the content-addressed store, hash-verified

18it("should let the user hide the require function", function() {
19 expect((function(require) { return require; })(1234)).toBe(1234);
20 function testFunc(abc, require) {
21 return require;
22 }
23 expect(testFunc(333, 678)).toBe(678);
24 (function() {
25 var require = 123;

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected