mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-21 00:07:01 +08:00
style: apply prefer-node-protocol lint rule (#5627)
it makes it perfectly clear that the package is a Node.js builtin module.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
/* eslint-disable unicorn/prefer-dom-node-dataset */
|
||||
import fs from 'node:fs';
|
||||
|
||||
import { test } from '@affine-test/kit/playwright';
|
||||
import { openHomePage } from '@affine-test/kit/utils/load-page';
|
||||
import {
|
||||
@@ -7,7 +9,6 @@ import {
|
||||
waitForEditorLoad,
|
||||
} from '@affine-test/kit/utils/page-logic';
|
||||
import { expect, type Page } from '@playwright/test';
|
||||
import fs from 'fs';
|
||||
|
||||
async function importImage(page: Page, url: string) {
|
||||
await page.evaluate(
|
||||
|
||||
Reference in New Issue
Block a user