refactor(editor): remove assertExists (#10615)

This commit is contained in:
Saul-Mirone
2025-03-05 00:13:08 +00:00
parent a6692f70aa
commit b8ecfbdae6
106 changed files with 863 additions and 517 deletions

View File

@@ -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 = {