feat: dc provider

This commit is contained in:
DarkSky
2022-12-29 21:20:26 +08:00
committed by DarkSky
parent e6e4c775a8
commit 2bf6bf7ed8
9 changed files with 155 additions and 42 deletions

View File

@@ -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();
});