fix lint
This commit is contained in:
parent
5fbc3e3513
commit
e15d71c5fd
|
|
@ -17,7 +17,6 @@
|
|||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import type { FullConfig, FullResult, Suite, TestCase } from '../../types/testReporter';
|
||||
import { monotonicTime } from 'playwright-core/lib/utils';
|
||||
import { formatFailure, stripAnsiEscapes } from './base';
|
||||
import EmptyReporter from './empty';
|
||||
|
||||
|
|
|
|||
|
|
@ -518,7 +518,7 @@ for (const useIntermediateMergeReport of [false, true] as const) {
|
|||
}, { reporter: 'junit' });
|
||||
const xml = parseXML(result.output);
|
||||
const time = +xml['testsuites']['$']['time'];
|
||||
expect(time).toBe(result.report.stats.duration/1000);
|
||||
expect(time).toBe(result.report.stats.duration / 1000);
|
||||
expect(time).toBeGreaterThan(1);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue