(
sample: string,
additionalRendererOptions: RendererOptions,
jsonFiles: string[]
)
| 430 | } |
| 431 | |
| 432 | async test( |
| 433 | sample: string, |
| 434 | additionalRendererOptions: RendererOptions, |
| 435 | jsonFiles: string[] |
| 436 | ): Promise<void> { |
| 437 | if (this.language.compileCommand) { |
| 438 | exec(this.language.compileCommand); |
| 439 | } |
| 440 | for (const json of jsonFiles) { |
| 441 | const jsonBase = path.basename(json); |
| 442 | compareJsonFileToJson({ |
| 443 | expectedFile: jsonBase, |
| 444 | given: { command: this.language.runCommand(jsonBase) }, |
| 445 | strict: false, |
| 446 | allowMissingNull: this.language.allowMissingNull |
| 447 | }); |
| 448 | } |
| 449 | } |
| 450 | } |
| 451 | |
| 452 | function graphQLSchemaFilename(baseName: string): string { |
nothing calls this directly
no test coverage detected