mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
feat: dc provider
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
import { test, expect } from '@playwright/test';
|
||||
import { getDataCenter } from './utils.js';
|
||||
|
||||
import 'fake-indexeddb/auto';
|
||||
|
||||
test('can init data center', async () => {
|
||||
const dataCenter = await getDataCenter();
|
||||
|
||||
expect(dataCenter).toBeTruthy();
|
||||
|
||||
const workspace = await dataCenter.getWorkspace('test');
|
||||
expect(workspace).toBeTruthy();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user