+export async function checkPeerTubeRunnerCacheIsEmpty () {
+ const directoryPath = join(homedir(), '.cache', 'peertube-runner-nodejs', 'test', 'transcoding')
+
+ const directoryExists = await pathExists(directoryPath)
+ expect(directoryExists).to.be.true
+
+ const files = await readdir(directoryPath)
+
+ expect(files).to.have.lengthOf(0)