From a0c88cbd433fe67e75943dfc9963e477a31381eb Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 13 Oct 2016 16:43:21 +0200 Subject: [PATCH] Remove temporary backup download folder --- test/selfhost-digitalocean-test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/selfhost-digitalocean-test.js b/test/selfhost-digitalocean-test.js index 00ea44f..be473ec 100644 --- a/test/selfhost-digitalocean-test.js +++ b/test/selfhost-digitalocean-test.js @@ -15,6 +15,7 @@ var AppStore = require('../appstore.js'), Cloudron = require('../cloudron.js'), common = require('../common.js'), mailer = require('../mailer.js'), + rimraf = require('rimraf'), semver = require('semver'), sleep = require('../shell.js').sleep, superagent = require('superagent'), @@ -239,6 +240,8 @@ describe('Selfhost DigitalOcean Cloudron creation', function () { restoreInstanceId = out.stdout.split('\n').filter(function (l) { return l.indexOf(' ID: ') !== -1; })[0].split(':')[1].trim(); console.log('New instance created with ID', restoreInstanceId); + + rimraf.sync(BACKUP_FOLDER); }); it('runs the app', function () {