mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
chore: prohibit unnecessary await (#4586)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import type { Page } from '@playwright/test';
|
||||
|
||||
export const coreUrl = 'http://localhost:8080';
|
||||
export const prototypeUrl = 'http://localhost:3003';
|
||||
|
||||
export async function openHomePage(page: Page) {
|
||||
await page.goto(coreUrl);
|
||||
@@ -11,6 +10,6 @@ export async function openPluginPage(page: Page) {
|
||||
await page.goto(`${coreUrl}/_plugin/index.html`);
|
||||
}
|
||||
|
||||
export async function openPrototypeProviderStatusPage(page: Page) {
|
||||
await page.goto(`${prototypeUrl}/suite/provider-status.html`);
|
||||
export async function open404Page(page: Page) {
|
||||
await page.goto(`${coreUrl}/404`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user