From 8c3c92ed530a9dd9c218c475a7fe797bff18ddf7 Mon Sep 17 00:00:00 2001 From: Jacob Karlsson Date: Sun, 30 Jun 2024 13:32:12 +0200 Subject: [PATCH] Remove todo comment in favor of issue --- test/realtime.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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',