mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
refactor(editor): remove assertExists (#10615)
This commit is contained in:
@@ -12,7 +12,6 @@ import type {
|
||||
RichText,
|
||||
RootBlockModel,
|
||||
} from '@blocksuite/blocks';
|
||||
import { assertExists } from '@blocksuite/global/utils';
|
||||
import type { InlineRootElement } from '@blocksuite/inline';
|
||||
import type { BlockModel } from '@blocksuite/store';
|
||||
import { expect, type Locator, type Page } from '@playwright/test';
|
||||
@@ -53,8 +52,6 @@ import {
|
||||
} from './actions/misc.js';
|
||||
import { getStringFromRichText } from './inline-editor.js';
|
||||
|
||||
export { assertExists };
|
||||
|
||||
const BLOCK_ID_ATTR = 'data-block-id';
|
||||
|
||||
export const defaultStore = {
|
||||
|
||||
Reference in New Issue
Block a user