()
| 112 | }); |
| 113 | |
| 114 | const testUpdate = async () => { |
| 115 | await ran1.promise; |
| 116 | runs.push(currentRun); |
| 117 | currentRun = ''; |
| 118 | const content = fixtureContent[fileToUpdate]; |
| 119 | const path = fixturePaths[fileToUpdate]; |
| 120 | |
| 121 | await performFileOperation( |
| 122 | () => writeFileSync(path, content), |
| 123 | useRunApi, |
| 124 | ); |
| 125 | await ran2.promise; |
| 126 | |
| 127 | runs.push(currentRun); |
| 128 | child.kill(); |
| 129 | await once(child, 'exit'); |
| 130 | |
| 131 | assert.strictEqual(runs.length, 2); |
| 132 | |
| 133 | for (const run of runs) { |
| 134 | assertTestOutput(run, useRunApi); |
| 135 | } |
| 136 | }; |
| 137 | |
| 138 | const testRename = async () => { |
| 139 | await ran1.promise; |
no test coverage detected
searching dependent graphs…