mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 15:05:13 +00:00
fix lint errors in backend unit tests
This commit is contained in:
parent
7431866d86
commit
b5a1c54d65
6 changed files with 11 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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 }) => {
|
||||
|
|
|
@ -35,7 +35,7 @@ describe('FileInfoService', () => {
|
|||
delete fi.porn;
|
||||
|
||||
return fi;
|
||||
}
|
||||
};
|
||||
|
||||
beforeAll(async () => {
|
||||
app = await Test.createTestingModule({
|
||||
|
|
Loading…
Reference in a new issue