chore: fix assert imports (#13359)

This commit is contained in:
Yury Semikhatsky 2022-04-06 21:30:48 -07:00 committed by GitHub
parent c68f57d2d0
commit 32d30ae71d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -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<DeviceBackend[]> {

View file

@ -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';