()
| 23 | filePath(fileName) { return join(this.dirPath, fileName); } |
| 24 | |
| 25 | async run() { |
| 26 | await Promise.all([this.watchFiles(), this.writeFiles()]); |
| 27 | // eslint-disable-next-line node-core/must-call-assert |
| 28 | assert(!this.files.length); |
| 29 | } |
| 30 | async watchFiles() { |
| 31 | const watcher = watch(this.dirPath); |
| 32 | for await (const evt of watcher) { |
no test coverage detected