fix: esm test case

This commit is contained in:
DarkSky
2023-01-09 12:20:53 +08:00
parent c7409bef84
commit 1cb83e4bdb
20 changed files with 40 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
import { test, expect, type Page } from '@playwright/test';
import { loadPage } from './libs/load-page';
import { withCtrlOrMeta } from './libs/keyboard';
import { newPage } from './libs/page-logic';
import { loadPage } from './libs/load-page.js';
import { withCtrlOrMeta } from './libs/keyboard.js';
import { newPage } from './libs/page-logic.js';
loadPage();
const openQuickSearchByShortcut = async (page: Page) =>