fix(workspace): make ci stable (#5496)
This commit is contained in:
parent
104c21d84c
commit
54c6b445ea
@ -22,7 +22,7 @@ describe('SyncEngine', () => {
|
|||||||
let prev: any;
|
let prev: any;
|
||||||
{
|
{
|
||||||
const workspace = new Workspace({
|
const workspace = new Workspace({
|
||||||
id: 'test',
|
id: 'test - syncengine - indexeddb',
|
||||||
|
|
||||||
schema,
|
schema,
|
||||||
});
|
});
|
||||||
@ -54,7 +54,7 @@ describe('SyncEngine', () => {
|
|||||||
|
|
||||||
{
|
{
|
||||||
const workspace = new Workspace({
|
const workspace = new Workspace({
|
||||||
id: 'test',
|
id: 'test - syncengine - indexeddb',
|
||||||
|
|
||||||
schema,
|
schema,
|
||||||
});
|
});
|
||||||
@ -73,7 +73,7 @@ describe('SyncEngine', () => {
|
|||||||
|
|
||||||
{
|
{
|
||||||
const workspace = new Workspace({
|
const workspace = new Workspace({
|
||||||
id: 'test',
|
id: 'test - syncengine - indexeddb',
|
||||||
|
|
||||||
schema,
|
schema,
|
||||||
});
|
});
|
||||||
@ -92,7 +92,7 @@ describe('SyncEngine', () => {
|
|||||||
|
|
||||||
{
|
{
|
||||||
const workspace = new Workspace({
|
const workspace = new Workspace({
|
||||||
id: 'test',
|
id: 'test - syncengine - indexeddb',
|
||||||
|
|
||||||
schema,
|
schema,
|
||||||
});
|
});
|
||||||
@ -111,10 +111,12 @@ describe('SyncEngine', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
test('status', async () => {
|
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 localStorage = createTestStorage(createIndexedDBStorage(ydoc.guid));
|
||||||
const remoteStorage = createTestStorage(createIndexedDBStorage(ydoc.guid));
|
const remoteStorage = createTestStorage(
|
||||||
|
createIndexedDBStorage(ydoc.guid + '1')
|
||||||
|
);
|
||||||
|
|
||||||
localStorage.pausePull();
|
localStorage.pausePull();
|
||||||
localStorage.pausePush();
|
localStorage.pausePush();
|
||||||
|
@ -20,7 +20,7 @@ describe('SyncPeer', () => {
|
|||||||
let prev: any;
|
let prev: any;
|
||||||
{
|
{
|
||||||
const workspace = new Workspace({
|
const workspace = new Workspace({
|
||||||
id: 'test',
|
id: 'test - syncpeer - indexeddb',
|
||||||
|
|
||||||
schema,
|
schema,
|
||||||
});
|
});
|
||||||
@ -48,7 +48,7 @@ describe('SyncPeer', () => {
|
|||||||
|
|
||||||
{
|
{
|
||||||
const workspace = new Workspace({
|
const workspace = new Workspace({
|
||||||
id: 'test',
|
id: 'test - syncpeer - indexeddb',
|
||||||
|
|
||||||
schema,
|
schema,
|
||||||
});
|
});
|
||||||
@ -66,7 +66,7 @@ describe('SyncPeer', () => {
|
|||||||
|
|
||||||
test('status', async () => {
|
test('status', async () => {
|
||||||
const workspace = new Workspace({
|
const workspace = new Workspace({
|
||||||
id: 'test - status',
|
id: 'test - syncpeer - status',
|
||||||
|
|
||||||
schema,
|
schema,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user