mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add test regarding tmp directory
This commit is contained in:
@@ -8,6 +8,7 @@ import { VideoPrivacy } from '../../../../shared/models/videos'
|
||||
import { VideoComment, VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model'
|
||||
import {
|
||||
addVideoChannel,
|
||||
checkTmpIsEmpty,
|
||||
checkVideoFilesWereRemoved,
|
||||
completeVideoCheck,
|
||||
createUser,
|
||||
@@ -1008,6 +1009,14 @@ describe('Test multiple servers', function () {
|
||||
})
|
||||
})
|
||||
|
||||
describe('TMP directory', function () {
|
||||
it('Should have an empty tmp directory', async function () {
|
||||
for (const server of servers) {
|
||||
await checkTmpIsEmpty(server)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
after(async function () {
|
||||
killallServers(servers)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user