/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
-import 'mocha'
import { checkBadCountPagination, checkBadSortPagination, checkBadStartPagination } from '@server/tests/shared'
import {
HttpStatusCode,
}
}
const getUpdate = (params: any, playlistId: number | string) => {
- return { ...params, playlistId: playlistId }
+ return { ...params, playlistId }
}
it('Should fail with an unauthenticated user', async function () {
})
it('Should fail with an incorrect privacy', async function () {
- const params = getBase({ privacy: 45 })
+ const params = getBase({ privacy: 45 as any })
await command.create(params)
await command.update(getUpdate(params, playlist.shortUUID))