cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [02/50] ios commit: CB-8710 - cordova-ios jasmine tests do not clean up build products, tests can only be run once
Date Thu, 25 Jun 2015 01:08:50 GMT
CB-8710 - cordova-ios jasmine tests do not clean up build products, tests can only be run once


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/acb703ae
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/acb703ae
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/acb703ae

Branch: refs/heads/master
Commit: acb703aebf772b269efc2519d18a00b7a2653461
Parents: 4f1ccbe
Author: Shazron Abdullah <shazron@apache.org>
Authored: Wed Mar 18 17:20:46 2015 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Wed Mar 18 17:20:46 2015 -0700

----------------------------------------------------------------------
 tests/spec/cordovalib.spec.js | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/acb703ae/tests/spec/cordovalib.spec.js
----------------------------------------------------------------------
diff --git a/tests/spec/cordovalib.spec.js b/tests/spec/cordovalib.spec.js
index 10cd696..9657717 100644
--- a/tests/spec/cordovalib.spec.js
+++ b/tests/spec/cordovalib.spec.js
@@ -48,4 +48,9 @@ describe('cordova-lib', function() {
         return_code = shell.exec(command).code;
         expect(return_code).toBe(0);
     });
+    
+    // clean-up last
+    it('cleanup artifacts folder', function() {
+        shell.rm('-rf', artifacts_dir);
+    });
 });
\ No newline at end of file


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


Mime
View raw message