lint
This commit is contained in:
parent
05c4d6b11e
commit
b8544814ec
14 changed files with 201 additions and 201 deletions
|
@ -23,13 +23,13 @@ describe('users/notes', () => {
|
|||
const jpg = await uploadFile(alice, _dirname + '/resources/Lenna.jpg');
|
||||
const png = await uploadFile(alice, _dirname + '/resources/Lenna.png');
|
||||
jpgNote = await post(alice, {
|
||||
fileIds: [jpg.id]
|
||||
fileIds: [jpg.id],
|
||||
});
|
||||
pngNote = await post(alice, {
|
||||
fileIds: [png.id]
|
||||
fileIds: [png.id],
|
||||
});
|
||||
jpgPngNote = await post(alice, {
|
||||
fileIds: [jpg.id, png.id]
|
||||
fileIds: [jpg.id, png.id],
|
||||
});
|
||||
});
|
||||
|
||||
|
@ -40,7 +40,7 @@ describe('users/notes', () => {
|
|||
it('ファイルタイプ指定 (jpg)', async(async () => {
|
||||
const res = await request('/users/notes', {
|
||||
userId: alice.id,
|
||||
fileType: ['image/jpeg']
|
||||
fileType: ['image/jpeg'],
|
||||
}, alice);
|
||||
|
||||
assert.strictEqual(res.status, 200);
|
||||
|
@ -53,7 +53,7 @@ describe('users/notes', () => {
|
|||
it('ファイルタイプ指定 (jpg or png)', async(async () => {
|
||||
const res = await request('/users/notes', {
|
||||
userId: alice.id,
|
||||
fileType: ['image/jpeg', 'image/png']
|
||||
fileType: ['image/jpeg', 'image/png'],
|
||||
}, alice);
|
||||
|
||||
assert.strictEqual(res.status, 200);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue