(fileName: string)
| 215 | |
| 216 | describe('performance_analyze_insight', () => { |
| 217 | async function parseTrace(fileName: string): Promise<TraceResult> { |
| 218 | const rawData = loadTraceAsBuffer(fileName); |
| 219 | const result = await parseRawTraceBuffer(rawData); |
| 220 | if (!traceResultIsSuccess(result)) { |
| 221 | assert.fail(`Unexpected trace parse error: ${result.error}`); |
| 222 | } |
| 223 | return result; |
| 224 | } |
| 225 | |
| 226 | it('returns the information on the insight', async () => { |
| 227 | const trace = await parseTrace('web-dev-with-commit.json.gz'); |
no test coverage detected