(fixture: TestFixture | string)
| 79 | return stripExtension(path.basename(fixture.inputPath), INPUT_EXTENSIONS); |
| 80 | } |
| 81 | export function isExpectError(fixture: TestFixture | string): boolean { |
| 82 | const basename = typeof fixture === 'string' ? fixture : getBasename(fixture); |
| 83 | return basename.startsWith('error.') || basename.startsWith('todo.error'); |
| 84 | } |
| 85 | |
| 86 | export type TestFixture = |
| 87 | | { |
no test coverage detected