(stderr: string)
| 8 | |
| 9 | const testCompletedRE = /Ran all test suites./g; |
| 10 | const numberOfTestRuns = (stderr: string): number => { |
| 11 | const matches = stderr.match(testCompletedRE); |
| 12 | return matches ? matches.length : 0; |
| 13 | }; |
| 14 | |
| 15 | test.each(['js', 'cjs'])('supports %s watch plugins', async watchPluginDir => { |
| 16 | const testRun = runContinuous(`watch-plugins/${watchPluginDir}`, [ |
no test coverage detected