MCPcopy
hub / github.com/webpack/webpack / callClosedFinishedCallback

Function callClosedFinishedCallback

test/MultiWatching.unittest.js:76–78  ·  view source on GitHub ↗
(/** @type {Watching} */ watching)

Source from the content-addressed store, hash-verified

74 /** @type {jest.Mock} */
75 let callback;
76 const callClosedFinishedCallback = (/** @type {Watching} */ watching) => {
77 /** @type {jest.Mock} */ (watching.close).mock.calls[0][0]();
78 };
79
80 beforeEach(() => {
81 callback = jest.fn();

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected