(name: string, contents: string)
| 15 | }); |
| 16 | |
| 17 | async function writePayloadFile(name: string, contents: string): Promise<string> { |
| 18 | const filePath = path.join(tmpDir, name); |
| 19 | await fs.writeFile(filePath, contents, 'utf8'); |
| 20 | return filePath; |
| 21 | } |
| 22 | |
| 23 | function expectInvalidArgs(promise: Promise<unknown>, messageFragment: string) { |
| 24 | return expect(promise).rejects.toThrow( |
no outgoing calls
no test coverage detected
searching dependent graphs…