mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
style: enable import-x/no-duplicates (#6279)
This commit is contained in:
@@ -5,7 +5,8 @@ import path, { resolve } from 'node:path';
|
||||
import process from 'node:process';
|
||||
|
||||
import type { DocCollection } from '@blocksuite/store';
|
||||
import { type BrowserContext, test as baseTest } from '@playwright/test';
|
||||
import type { BrowserContext } from '@playwright/test';
|
||||
import { test as baseTest } from '@playwright/test';
|
||||
|
||||
export const rootDir = resolve(__dirname, '..', '..');
|
||||
// assert that the rootDir is the root of the project
|
||||
|
||||
@@ -10,12 +10,8 @@ import {
|
||||
} from '@affine-test/kit/utils/sidebar';
|
||||
import { faker } from '@faker-js/faker';
|
||||
import { hash } from '@node-rs/argon2';
|
||||
import {
|
||||
type BrowserContext,
|
||||
type Cookie,
|
||||
expect,
|
||||
type Page,
|
||||
} from '@playwright/test';
|
||||
import type { BrowserContext, Cookie, Page } from '@playwright/test';
|
||||
import { expect } from '@playwright/test';
|
||||
import { z } from 'zod';
|
||||
|
||||
export async function getCurrentMailMessageCount() {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { expect, type Page } from '@playwright/test';
|
||||
import type { Page } from '@playwright/test';
|
||||
import { expect } from '@playwright/test';
|
||||
|
||||
export const coreUrl = 'http://localhost:8080';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { expect, type Page } from '@playwright/test';
|
||||
import type { Page } from '@playwright/test';
|
||||
import { expect } from '@playwright/test';
|
||||
|
||||
export const getPropertyValueLocator = (page: Page, property: string) => {
|
||||
return page.locator(
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { expect, type Page } from '@playwright/test';
|
||||
import type { Page } from '@playwright/test';
|
||||
import { expect } from '@playwright/test';
|
||||
|
||||
import { waitForEditorLoad } from './page-logic';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user