MCPcopy
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

1it("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

contextMethod · 0.80
keysMethod · 0.65
itFunction · 0.50

Tested by

no test coverage detected