import { HttpStatusCode } from '@shared/core-utils'
import {
buildAbsoluteFixturePath,
import { HttpStatusCode } from '@shared/core-utils'
import {
buildAbsoluteFixturePath,
const uploadId = uploadIdArg.replace(/^upload_id=/, '')
const subPath = join('tmp', 'resumable-uploads', uploadId)
const uploadId = uploadIdArg.replace(/^upload_id=/, '')
const subPath = join('tmp', 'resumable-uploads', uploadId)
async function countResumableUploads () {
const subPath = join('tmp', 'resumable-uploads')
async function countResumableUploads () {
const subPath = join('tmp', 'resumable-uploads')
expect(await countResumableUploads()).to.equal(2)
})
it('Should delete old uploads', async function () {
expect(await countResumableUploads()).to.equal(2)
})
it('Should delete old uploads', async function () {