MCPcopy
hub / github.com/webpack/webpack / step2

Function step2

test/WatchDetection.test.js:131–145  ·  test/WatchDetection.test.js::step2

* @returns {void}

()

Source from the content-addressed store, hash-verified

129 * @returns {void}
130 */
131 function step2() {
132 onChange = () => {
133 expect(compiler.modifiedFiles).toBeDefined();
134 expect(compiler.removedFiles).toBeDefined();
135 };
136
137 fs.writeFile(
138 filePath,
139 class="st">"require('./file2'); again",
140 class="st">"utf8",
141 handleError
142 );
143
144 setTimeout(step3, changeTimeout);
145 }
146
147 /**
148 * @returns {void}

Callers 1

step1Function · 0.85

Calls 1

writeFileMethod · 0.45

Tested by

no test coverage detected