Remove temporary backup download folder

This commit is contained in:
Johannes Zellner 2016-10-13 16:43:21 +02:00
parent cfc534539e
commit a0c88cbd43

View File

@ -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 () {