fix lint issues

This commit is contained in:
Simon Knott 2024-07-19 14:21:11 +02:00
parent 38a16c5738
commit 0b2a74e9ac
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -19,14 +19,12 @@ import type { StackFrame } from '@protocol/channels';
import util from 'util'; import util from 'util';
import path from 'path'; import path from 'path';
import url from 'url'; import url from 'url';
import childProcess from 'child_process';
import { debug, mime, minimatch, parseStackTraceLine } from 'playwright-core/lib/utilsBundle'; import { debug, mime, minimatch, parseStackTraceLine } from 'playwright-core/lib/utilsBundle';
import { formatCallLog } from 'playwright-core/lib/utils'; import { formatCallLog } from 'playwright-core/lib/utils';
import type { TestInfoError } from './../types/test'; import type { TestInfoError } from './../types/test';
import type { Location } from './../types/testReporter'; import type { Location } from './../types/testReporter';
import { calculateSha1, isRegExp, isString, sanitizeForFilePath, stringifyStackFrames } from 'playwright-core/lib/utils'; import { calculateSha1, isRegExp, isString, sanitizeForFilePath, stringifyStackFrames } from 'playwright-core/lib/utils';
import type { RawStack } from 'playwright-core/lib/utils'; import type { RawStack } from 'playwright-core/lib/utils';
import { affectedTestFiles } from './transform/compilationCache';
const PLAYWRIGHT_TEST_PATH = path.join(__dirname, '..'); const PLAYWRIGHT_TEST_PATH = path.join(__dirname, '..');
const PLAYWRIGHT_CORE_PATH = path.dirname(require.resolve('playwright-core/package.json')); const PLAYWRIGHT_CORE_PATH = path.dirname(require.resolve('playwright-core/package.json'));