mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
fix(workspace): make ci stable (#5496)
This commit is contained in:
@@ -22,7 +22,7 @@ describe('SyncEngine', () => {
|
||||
let prev: any;
|
||||
{
|
||||
const workspace = new Workspace({
|
||||
id: 'test',
|
||||
id: 'test - syncengine - indexeddb',
|
||||
|
||||
schema,
|
||||
});
|
||||
@@ -54,7 +54,7 @@ describe('SyncEngine', () => {
|
||||
|
||||
{
|
||||
const workspace = new Workspace({
|
||||
id: 'test',
|
||||
id: 'test - syncengine - indexeddb',
|
||||
|
||||
schema,
|
||||
});
|
||||
@@ -73,7 +73,7 @@ describe('SyncEngine', () => {
|
||||
|
||||
{
|
||||
const workspace = new Workspace({
|
||||
id: 'test',
|
||||
id: 'test - syncengine - indexeddb',
|
||||
|
||||
schema,
|
||||
});
|
||||
@@ -92,7 +92,7 @@ describe('SyncEngine', () => {
|
||||
|
||||
{
|
||||
const workspace = new Workspace({
|
||||
id: 'test',
|
||||
id: 'test - syncengine - indexeddb',
|
||||
|
||||
schema,
|
||||
});
|
||||
@@ -111,10 +111,12 @@ describe('SyncEngine', () => {
|
||||
});
|
||||
|
||||
test('status', async () => {
|
||||
const ydoc = new Doc({ guid: 'test - status' });
|
||||
const ydoc = new Doc({ guid: 'test - syncengine - status' });
|
||||
|
||||
const localStorage = createTestStorage(createIndexedDBStorage(ydoc.guid));
|
||||
const remoteStorage = createTestStorage(createIndexedDBStorage(ydoc.guid));
|
||||
const remoteStorage = createTestStorage(
|
||||
createIndexedDBStorage(ydoc.guid + '1')
|
||||
);
|
||||
|
||||
localStorage.pausePull();
|
||||
localStorage.pausePush();
|
||||
|
||||
@@ -20,7 +20,7 @@ describe('SyncPeer', () => {
|
||||
let prev: any;
|
||||
{
|
||||
const workspace = new Workspace({
|
||||
id: 'test',
|
||||
id: 'test - syncpeer - indexeddb',
|
||||
|
||||
schema,
|
||||
});
|
||||
@@ -48,7 +48,7 @@ describe('SyncPeer', () => {
|
||||
|
||||
{
|
||||
const workspace = new Workspace({
|
||||
id: 'test',
|
||||
id: 'test - syncpeer - indexeddb',
|
||||
|
||||
schema,
|
||||
});
|
||||
@@ -66,7 +66,7 @@ describe('SyncPeer', () => {
|
||||
|
||||
test('status', async () => {
|
||||
const workspace = new Workspace({
|
||||
id: 'test - status',
|
||||
id: 'test - syncpeer - status',
|
||||
|
||||
schema,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user