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

@ -237,7 +237,7 @@ describe('アンテナ', () => {
status: 400,
code: 'EMPTY_KEYWORD',
id: '53ee222e-1ddd-4f9a-92e5-9fb82ddb463a'
})
});
});
//#endregion
//#region 更新(antennas/update)
@ -276,7 +276,7 @@ describe('アンテナ', () => {
status: 400,
code: 'EMPTY_KEYWORD',
id: '721aaff6-4e1b-4d88-8de6-877fae9f68c4'
})
});
});
//#endregion

View file

@ -156,7 +156,7 @@ describe('Webリソース', () => {
describe(' has entry such ', () => {
beforeEach(() => {
post(alice, { text: "**a**" })
post(alice, { text: "**a**" });
});
test('MFMを含まない。', async () => {
@ -169,7 +169,7 @@ describe('Webリソース', () => {
throw new Error("MFM shouldn't be included");
}
});
})
});
});
describe.each([{ path: '/api/foo' }])('$path', ({ path }) => {

View file

@ -35,7 +35,7 @@ describe('FileInfoService', () => {
delete fi.porn;
return fi;
}
};
beforeAll(async () => {
app = await Test.createTestingModule({