mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 21:41:52 +08:00
style: enable react/react-in-jsx-scope lint rule (#1107)
This commit is contained in:
@@ -9,6 +9,13 @@ const pkgPath = path.join(__dirname, '../apps/web/package.json');
|
||||
const record = fs.readFileSync(pkgPath, 'utf8');
|
||||
const temp = JSON.parse(record);
|
||||
loadPage();
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
__editoVersion: unknown;
|
||||
}
|
||||
}
|
||||
|
||||
test.describe('web console', () => {
|
||||
test('editor version', async ({ page }) => {
|
||||
const pkgEditorVersion = temp.dependencies['@blocksuite/editor'];
|
||||
|
||||
Reference in New Issue
Block a user