+async function checkTmpIsEmpty (server: ServerInfo) {
+ const testDirectory = 'test' + server.serverNumber
+
+ const directoryPath = join(root(), testDirectory, 'tmp')
+
+ const directoryExists = existsSync(directoryPath)
+ expect(directoryExists).to.be.true
+
+ const files = await readdir(directoryPath)
+ expect(files).to.have.lengthOf(0)
+}
+