You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2019/03/14 07:13:52 UTC

[cordova-electron] branch master updated: Remove temp dir after create.spec.js test (#40)

This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-electron.git


The following commit(s) were added to refs/heads/master by this push:
     new a4663bd  Remove temp dir after create.spec.js test (#40)
a4663bd is described below

commit a4663bdff2d551dc2b01877136744931fb8f2876
Author: Gedas Gardauskas <ge...@gmail.com>
AuthorDate: Thu Mar 14 16:13:48 2019 +0900

    Remove temp dir after create.spec.js test (#40)
---
 tests/spec/unit/create.spec.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/spec/unit/create.spec.js b/tests/spec/unit/create.spec.js
index 8094478..1053044 100644
--- a/tests/spec/unit/create.spec.js
+++ b/tests/spec/unit/create.spec.js
@@ -142,5 +142,8 @@ describe('create', () => {
         create.createProject(tmpDir, projectname, projectid, projectname);
 
         expect(emitSpy).toHaveBeenCalledWith('error', 'Please make sure you meet the software requirements in order to build a cordova electron project');
+
+        // clean-up
+        fs.removeSync(tmpDir);
     });
 });


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org