Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ index.js
File
index.js
test/cases/parsing/chunks/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
it(
"should parse a Coffeescript style function expression in require.ensure"
,
function
(done) {
2
require.ensure([], (
function
(_this) {
3
return
function
(require) {
4
expect(require(
"./file"
)).toBe(
"ok"
);
Callers
nothing calls this directly
Calls
3
ensure
Method · 0.80
it
Function · 0.50
require
Function · 0.50
Tested by
no test coverage detected