diff --git a/test/realtime.test.js b/test/realtime.test.js index 8484c08..b196237 100644 --- a/test/realtime.test.js +++ b/test/realtime.test.js @@ -12,7 +12,7 @@ async function flatten(iter) { } // copy of test in pzp-sync, but that doesn't test if it works with gc enabled -test('create 200 messages that manage to replicate with low "newest" goals', async (t) => { +test('create 200 messages that manage to replicate with low "newest" goals (using onRecordAdded and with initial message)', async (t) => { const n = 200 const alice = createPeer({ name: 'alice' }) @@ -37,7 +37,6 @@ test('create 200 messages that manage to replicate with low "newest" goals', asy assert.deepEqual(arr, [], 'alice has no posts from bob') } - // TODO: make things work with this first, then add another test without this? await p(bob.db.feed.publish)({ account: bobID, domain: 'post',