mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
13 lines
345 B
TypeScript
13 lines
345 B
TypeScript
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();
|
|
});
|