From 9f8d50706ec859cc6fc1ae2012cc11fe11a2e625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 17 Dec 2025 12:34:54 -0500 Subject: [PATCH] test: add back logs for failing test --- test/activitypub/feps.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/activitypub/feps.js b/test/activitypub/feps.js index 1c97a282e8..9f5d0c6a60 100644 --- a/test/activitypub/feps.js +++ b/test/activitypub/feps.js @@ -164,8 +164,9 @@ describe('FEPs', () => { }); pid = id; ({ activity } = await helpers.mocks.create(note)); + console.log('before inbox create', activitypub._sent); await activitypub.inbox.create({ body: activity }); - + console.log('after inbox create', activitypub._sent); const activities = Array.from(activitypub._sent); const test1 = activities.some((activity) => { @@ -174,14 +175,13 @@ describe('FEPs', () => { activity.object && activity.object.type === 'Create' && activity.object.object && activity.object.object.type === 'Note'; }); - + assert(test1); const test2 = activities.some((activity) => { [, activity] = activity; return activity.type === 'Announce' && activity.object && activity.object.type === 'Note'; }); - - assert(test1 && test2); + assert(test2); }); it('should federate out an Announce(Create(Note)) on reply', async () => {