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