refactor: simplify code (#3015)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-07-04 17:34:22 +00:00
1 parent a06ba403d0
commit ec87864c34
31 files changed
+46 -33

No files matched your search

@@ -4,8 +4,9 @@
import 'fake-indexeddb/auto';
import { __unstableSchemas, AffineSchemas } from '@blocksuite/blocks/models';
import { assertExists } from '@blocksuite/global/utils';
import type { Page } from '@blocksuite/store';
import { assertExists, uuidv4, Workspace } from '@blocksuite/store';
import { uuidv4, Workspace } from '@blocksuite/store';
import { openDB } from 'idb';
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
import { IndexeddbPersistence } from 'y-indexeddb';