(path: string)
| 210 | } |
| 211 | |
| 212 | const requestDev = async (path: string) => { |
| 213 | const response = await nodeFetch(`http://localhost:${port}${path}`); |
| 214 | expect(response.status).toBe(200); |
| 215 | return (await response.json()) as NodeStandaloneResponse; |
| 216 | }; |
| 217 | |
| 218 | const devInstance = await requestDev('/'); |
| 219 | expect(devInstance.url).toBe('/'); |
no test coverage detected