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

Function step4

test/WatchDetection.test.js:160–175  ·  view source on GitHub ↗

* @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("/directory/bundle.js")
167 .toString()
168 .includes("correct")
169 ) {
170 step5();
171 }
172 };
173
174 fs.writeFile(file2Path, "correct", "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