diff --git a/packages/playwright-core/src/server/android/backendAdb.ts b/packages/playwright-core/src/server/android/backendAdb.ts index c45a3367eb..2e2918d902 100644 --- a/packages/playwright-core/src/server/android/backendAdb.ts +++ b/packages/playwright-core/src/server/android/backendAdb.ts @@ -14,13 +14,12 @@ * limitations under the License. */ -import assert from 'assert'; import debug from 'debug'; import type * as types from '../types'; import * as net from 'net'; import { EventEmitter } from 'events'; import type { Backend, DeviceBackend, SocketBackend } from './android'; -import { createGuid } from '../../utils/utils'; +import { assert, createGuid } from '../../utils/utils'; export class AdbBackend implements Backend { async devices(options: types.AndroidDeviceOptions = {}): Promise { diff --git a/packages/playwright-test/src/reporters/html.ts b/packages/playwright-test/src/reporters/html.ts index 0590fe4606..8172dbb5ca 100644 --- a/packages/playwright-test/src/reporters/html.ts +++ b/packages/playwright-test/src/reporters/html.ts @@ -22,10 +22,9 @@ import type { TransformCallback } from 'stream'; import { Transform } from 'stream'; import type { FullConfig, Suite, Reporter } from '../../types/testReporter'; import { HttpServer } from 'playwright-core/lib/utils/httpServer'; -import { calculateSha1, removeFolders } from 'playwright-core/lib/utils/utils'; +import { assert, calculateSha1, removeFolders } from 'playwright-core/lib/utils/utils'; import type { JsonAttachment, JsonReport, JsonSuite, JsonTestCase, JsonTestResult, JsonTestStep } from './raw'; import RawReporter from './raw'; -import assert from 'assert'; import yazl from 'yazl'; import { stripAnsiEscapes } from './base'; import { getPackageJsonPath } from '../util';