fix lint
This commit is contained in:
parent
3b325f2e55
commit
5c8a767d20
|
|
@ -22,7 +22,7 @@ import { projectExpectationPath } from './expectationUtil';
|
||||||
|
|
||||||
type ReporterOptions = {
|
type ReporterOptions = {
|
||||||
rebase?: boolean;
|
rebase?: boolean;
|
||||||
}
|
};
|
||||||
|
|
||||||
class ExpectationReporter implements Reporter {
|
class ExpectationReporter implements Reporter {
|
||||||
private _suite: Suite;
|
private _suite: Suite;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
import fs from 'fs';
|
import fs from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import { TestInfo } from 'playwright/test';
|
import type { TestInfo } from 'playwright/test';
|
||||||
|
|
||||||
type ShouldSkipPredicate = (info: TestInfo) => boolean;
|
type ShouldSkipPredicate = (info: TestInfo) => boolean;
|
||||||
|
|
||||||
|
|
@ -42,7 +42,7 @@ export async function parseBidiExpectations(projectName: string): Promise<Should
|
||||||
const key = [info.project.name, ...info.titlePath].join(' › ');
|
const key = [info.project.name, ...info.titlePath].join(' › ');
|
||||||
const expectation = expectationsMap.get(key);
|
const expectation = expectationsMap.get(key);
|
||||||
return expectation === 'fail' || expectation === 'timeout';
|
return expectation === 'fail' || expectation === 'timeout';
|
||||||
}
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
export function projectExpectationPath(project: string): string {
|
export function projectExpectationPath(project: string): string {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue