* @returns {void}
()
| 103 | * @returns {void} |
| 104 | */ |
| 105 | function step1() { |
| 106 | onChange = () => { |
| 107 | if ( |
| 108 | memfs.readFileSync(class="st">"/directory/bundle.js") && |
| 109 | memfs |
| 110 | .readFileSync(class="st">"/directory/bundle.js") |
| 111 | .toString() |
| 112 | .includes(class="st">"original") |
| 113 | ) { |
| 114 | step2(); |
| 115 | } |
| 116 | }; |
| 117 | |
| 118 | watcher = /** @type {import(class="st">"../").Watching} */ ( |
| 119 | compiler.watch( |
| 120 | { |
| 121 | aggregateTimeout: 50 |
| 122 | }, |
| 123 | () => {} |
| 124 | ) |
| 125 | ); |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * @returns {void} |
no test coverage detected