MCPcopy
hub / github.com/webpack/webpack / createWatching

Function createWatching

test/MultiWatching.unittest.js:12–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 * @returns {Watching} watching
11 */
12const createWatching = () =>
13 /** @type {Watching} */ (
14 /** @type {unknown} */ ({
15 invalidate: jest.fn(),
16 suspend: jest.fn(),
17 resume: jest.fn(),
18 close: jest.fn()
19 })
20 );
21
22/**
23 * @returns {MultiCompiler} compiler

Callers 1

Calls 1

fnMethod · 0.45

Tested by

no test coverage detected