| 7 | |
| 8 | /* eslint-disable jest/no-export,jest/valid-title -- we want to do it just for this one case */ |
| 9 | export interface CustomFixture { |
| 10 | targetId: TargetId; |
| 11 | clientId: ClientId; |
| 12 | tests: { |
| 13 | it: string; |
| 14 | input: Request; |
| 15 | options: any; |
| 16 | |
| 17 | /** a file path pointing to the expected custom fixture result */ |
| 18 | expected: string; |
| 19 | }[]; |
| 20 | } |
| 21 | |
| 22 | export const runCustomFixtures = ({ targetId, clientId, tests }: CustomFixture) => { |
| 23 | describe(`custom fixtures for ${targetId}:${clientId}`, () => { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…