Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/webpack/webpack
/ index.js
File
index.js
test/watchCases/context/delete-in-context/0/index.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
it(
"should detect changes in a context"
,
function
() {
2
var
context = require.context(
"./directory"
);
3
expect(context.keys().length).toBe((+WATCH_STEP) % 3 * 2);
4
});
Callers
nothing calls this directly
Calls
3
context
Method · 0.80
keys
Method · 0.65
it
Function · 0.50
Tested by
no test coverage detected