(stderr: string)
| 10 | import runJest from '../runJest'; |
| 11 | |
| 12 | const cleanupRunnerStack = (stderr: string) => |
| 13 | stderr |
| 14 | .split('\n') |
| 15 | .filter( |
| 16 | line => |
| 17 | !line.includes('packages/jest-jasmine2/build') && |
| 18 | !line.includes('packages/jest-circus/build'), |
| 19 | ) |
| 20 | .join('\n'); |
| 21 | |
| 22 | test('print correct error message with nested test definitions outside describe', () => { |
| 23 | const result = runJest('nested-test-definitions', ['outside']); |
no outgoing calls
no test coverage detected