(factory: TestCaseFactory)
| 33 | } |
| 34 | |
| 35 | async function getOutput(factory: TestCaseFactory) { |
| 36 | const clientResult = await runOnClient(factory) |
| 37 | const serverResult = await runOnServer(factory) |
| 38 | expect(serverResult).toBe(clientResult) |
| 39 | return clientResult |
| 40 | } |
| 41 | |
| 42 | function promiseWithDelay(res: any, delay: number) { |
| 43 | return new Promise<any>(r => { |
no test coverage detected