()
| 36 | const fixtureContent = {}; |
| 37 | |
| 38 | function refreshForTestRunnerWatch() { |
| 39 | tmpdir.refresh(); |
| 40 | const files = readdirSync(fixtures.path('test-runner-watch')); |
| 41 | for (const file of files) { |
| 42 | const src = fixtures.path('test-runner-watch', file); |
| 43 | const dest = tmpdir.resolve(file); |
| 44 | fixturePaths[file] = dest; |
| 45 | fixtureContent[file] = readFileSync(src, 'utf8'); |
| 46 | writeFileSync(dest, fixtureContent[file]); |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | async function performFileOperation(operation, useRunApi, timeout = 1000) { |
| 51 | if (useRunApi) { |
no test coverage detected
searching dependent graphs…