(path)
| 16 | let appPort: number | undefined |
| 17 | |
| 18 | const getProps = async (path) => { |
| 19 | const html = await renderViaHTTP(appPort, path) |
| 20 | const $ = cheerio.load(html) |
| 21 | return JSON.parse($('#props').text()) |
| 22 | } |
| 23 | |
| 24 | const runTests = () => { |
| 25 | it('should render / correctly', async () => { |