* @returns {void}
()
| 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} |