( dir: string, args: Array<string>, )
| 18 | str.split('\n').slice(1).join('\n'); |
| 19 | |
| 20 | function runJestTwice( |
| 21 | dir: string, |
| 22 | args: Array<string>, |
| 23 | ): [RunJestResult, RunJestResult] { |
| 24 | return [ |
| 25 | runJest(dir, [...args, '--randomize']), |
| 26 | runJest(dir, [...args, '--config', 'different-config.json']), |
| 27 | ]; |
| 28 | } |
| 29 | |
| 30 | test('works with passing tests', () => { |
| 31 | const [result1, result2] = runJestTwice(dir, [ |
no test coverage detected