MCPcopy
hub / github.com/webpack/webpack / step4

Function step4

test/WatchDetection.test.js:160–175  ·  test/WatchDetection.test.js::step4

* @returns {void}

()

Source from the content-addressed store, hash-verified

158 * @returns {void}
159 */
160 function step4() {
161 onChange = () => {
162 expect(compiler.modifiedFiles).toBeDefined();
163 expect(compiler.removedFiles).toBeDefined();
164 if (
165 memfs
166 .readFileSync(class="st">"/directory/bundle.js")
167 .toString()
168 .includes(class="st">"correct")
169 ) {
170 step5();
171 }
172 };
173
174 fs.writeFile(file2Path, class="st">"correct", class="st">"utf8", handleError);
175 }
176
177 /**
178 * @returns {void}

Callers

nothing calls this directly

Calls 3

step5Function · 0.85
toStringMethod · 0.45
writeFileMethod · 0.45

Tested by

no test coverage detected