fix lint errors in backend unit tests

This commit is contained in:
Hazelnoot 2024-10-15 21:32:26 -04:00
parent 7431866d86
commit b5a1c54d65
6 changed files with 11 additions and 11 deletions

View file

@ -314,7 +314,7 @@ describe('ActivityPub', () => {
// actor2Note is from a different server and needs to be fetched again
assert.deepStrictEqual(
resolver.remoteGetTrials(),
[actor1.id, `${actor1.id}/outbox`, actor1.featured, actor2Note.id, actor2.id, `${actor2.id}/outbox` ],
[actor1.id, `${actor1.id}/outbox`, actor1.featured, actor2Note.id, actor2.id, `${actor2.id}/outbox`],
);
const note = await noteService.fetchNote(actor2Note.id);
@ -440,7 +440,7 @@ describe('ActivityPub', () => {
});
});
describe('JSON-LD', () =>{
describe('JSON-LD', () => {
test('Compaction', async () => {
const jsonLd = jsonLdService.use();