refactor: use test

This commit is contained in:
syuilo 2023-02-02 18:18:25 +09:00
parent 07f885fea8
commit ed3e035ad6
23 changed files with 342 additions and 342 deletions

View file

@ -32,7 +32,7 @@ describe('users/notes', () => {
await shutdownServer(p);
});
it('ファイルタイプ指定 (jpg)', async () => {
test('ファイルタイプ指定 (jpg)', async () => {
const res = await request('/users/notes', {
userId: alice.id,
fileType: ['image/jpeg'],
@ -45,7 +45,7 @@ describe('users/notes', () => {
assert.strictEqual(res.body.some((note: any) => note.id === jpgPngNote.id), true);
});
it('ファイルタイプ指定 (jpg or png)', async () => {
test('ファイルタイプ指定 (jpg or png)', async () => {
const res = await request('/users/notes', {
userId: alice.id,
fileType: ['image/jpeg', 'image/png'],