You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ra...@apache.org on 2018/09/29 15:58:16 UTC

[cordova-fetch] branch master updated: Run test in well-defined directory (#51)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new e120dea  Run test in well-defined directory (#51)
e120dea is described below

commit e120dea951176525dc32f614742a5d4c25793c70
Author: Raphael von der GrĂ¼n <ra...@gmail.com>
AuthorDate: Sat Sep 29 17:58:11 2018 +0200

    Run test in well-defined directory (#51)
---
 spec/fetch-unit.spec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/fetch-unit.spec.js b/spec/fetch-unit.spec.js
index 889ef23..9cbe08b 100644
--- a/spec/fetch-unit.spec.js
+++ b/spec/fetch-unit.spec.js
@@ -119,7 +119,7 @@ describe('resolvePathToPackage', () => {
     });
 
     it('should not find a package installed elsewhere', () => {
-        return resolvePathToPackage('dummy-local-plugin').then(
+        return resolvePathToPackage('dummy-local-plugin', tmpDir).then(
             _ => fail('expect promise to be rejected'),
             err => expect(err).toBeDefined()
         );


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