mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-17 14:00:29 +01:00
debug: log mock results
This commit is contained in:
@@ -163,7 +163,10 @@ describe('FEPs', () => {
|
|||||||
cc: [`${nconf.get('url')}/category/${cid}`],
|
cc: [`${nconf.get('url')}/category/${cid}`],
|
||||||
});
|
});
|
||||||
pid = id;
|
pid = id;
|
||||||
|
console.log('note passed to mocks.create', note);
|
||||||
({ activity } = await helpers.mocks.create(note));
|
({ activity } = await helpers.mocks.create(note));
|
||||||
|
|
||||||
|
console.log('activity passed to inbox.create', activity);
|
||||||
await activitypub.inbox.create({ body: activity });
|
await activitypub.inbox.create({ body: activity });
|
||||||
|
|
||||||
const activities = Array.from(activitypub._sent);
|
const activities = Array.from(activitypub._sent);
|
||||||
|
|||||||
Reference in New Issue
Block a user