Skip to content

Commit bd8c753

Browse files
Utsav-LadaniUtsav-Ladanitalldan
authored
Fix transpilation warnings (#72359)
Co-authored-by: Utsav-Ladani <utsavladani@git.wordpress.org> Co-authored-by: talldan <talldanwp@git.wordpress.org>
1 parent d7800bf commit bd8c753

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/e2e-test-utils-playwright/src/lighthouse/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* External dependencies
33
*/
44
import type { Page } from '@playwright/test';
5-
import * as lighthouse from 'lighthouse/core/index.cjs';
5+
import lighthouse from 'lighthouse/core/index.cjs';
66

77
type LighthouseConstructorProps = {
88
page: Page;

packages/e2e-test-utils-playwright/src/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import * as path from 'path';
55
import { test as base, expect, chromium } from '@playwright/test';
66
import type { ConsoleMessage } from '@playwright/test';
7-
import * as getPort from 'get-port';
7+
import getPort from 'get-port';
88

99
/**
1010
* Internal dependencies

0 commit comments

Comments
 (0)