chore: typo fix

This commit is contained in:
DarkSky committed 2023-01-03 22:45:48 +08:00
1 parent ebdb3172e5
commit be21e856cf
2 files changed
+4 -5

No files matched your search

@@ -5,7 +5,7 @@ import { getDataCenter } from './utils.js';
import 'fake-indexeddb/auto';
test.describe('cloud-sync', () => {
test('get cloud the sync flag of workspace ', async () => {});
test('get cloud the sync flag of workspace', async () => {});
test('enable [cloud sync feature]', async () => {});
+3 -4
View File
@@ -1,9 +1,8 @@
import { Signal } from '@blocksuite/store';
export const getDataCenter = () => {
return import('../src/index.js').then(async dataCenter =>
dataCenter.getDataCenter(false)
);
export const getDataCenter = async () => {
const dataCenter = await import('../src/index.js');
return await dataCenter.getDataCenter(false);
};
export const waitOnce = <T>(signal: Signal<T>) =>