Update activitypub.ts

This commit is contained in:
Kagami Sascha Rosylight 2023-07-09 22:36:07 +02:00
parent bdbad4605b
commit 26040c2bb0
1 changed files with 2 additions and 1 deletions

View File

@ -265,6 +265,7 @@ describe('ActivityPub', () => {
assert.strictEqual(note.text, 'test test foo');
assert.strictEqual(note.uri, actor2Note.id);
});
});
describe('Outbox', () => {
test('Fetch non-paged outbox from IActor', async () => {
@ -315,6 +316,6 @@ describe('ActivityPub', () => {
const items = outbox.orderedItems as ICreate[];
assert.ok(await noteService.fetchNote(items[19].object));
assert.ok(!await noteService.fetchNote(items[20].object));
});
});
});
});