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,
|
status: 400,
|
||||||
code: 'EMPTY_KEYWORD',
|
code: 'EMPTY_KEYWORD',
|
||||||
id: '53ee222e-1ddd-4f9a-92e5-9fb82ddb463a'
|
id: '53ee222e-1ddd-4f9a-92e5-9fb82ddb463a'
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
//#endregion
|
//#endregion
|
||||||
//#region 更新(antennas/update)
|
//#region 更新(antennas/update)
|
||||||
|
@ -276,7 +276,7 @@ describe('アンテナ', () => {
|
||||||
status: 400,
|
status: 400,
|
||||||
code: 'EMPTY_KEYWORD',
|
code: 'EMPTY_KEYWORD',
|
||||||
id: '721aaff6-4e1b-4d88-8de6-877fae9f68c4'
|
id: '721aaff6-4e1b-4d88-8de6-877fae9f68c4'
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
//#endregion
|
//#endregion
|
||||||
|
|
|
@ -156,7 +156,7 @@ describe('Webリソース', () => {
|
||||||
|
|
||||||
describe(' has entry such ', () => {
|
describe(' has entry such ', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
post(alice, { text: "**a**" })
|
post(alice, { text: "**a**" });
|
||||||
});
|
});
|
||||||
|
|
||||||
test('MFMを含まない。', async () => {
|
test('MFMを含まない。', async () => {
|
||||||
|
@ -169,7 +169,7 @@ describe('Webリソース', () => {
|
||||||
throw new Error("MFM shouldn't be included");
|
throw new Error("MFM shouldn't be included");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe.each([{ path: '/api/foo' }])('$path', ({ path }) => {
|
describe.each([{ path: '/api/foo' }])('$path', ({ path }) => {
|
||||||
|
|
|
@ -35,7 +35,7 @@ describe('FileInfoService', () => {
|
||||||
delete fi.porn;
|
delete fi.porn;
|
||||||
|
|
||||||
return fi;
|
return fi;
|
||||||
}
|
};
|
||||||
|
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
app = await Test.createTestingModule({
|
app = await Test.createTestingModule({
|
||||||
|
|
Loading…
Reference in a new issue