cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cordova-plugin-file git commit: Fixed issue with file paths not existing when using browserify
Date Tue, 04 Aug 2015 23:52:15 GMT
Repository: cordova-plugin-file
Updated Branches:
  refs/heads/master fa33d4592 -> 19c8a79a6


Fixed issue with file paths not existing when using browserify


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/19c8a79a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/19c8a79a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/19c8a79a

Branch: refs/heads/master
Commit: 19c8a79a6f4667c8643f84192fd617ce1028be0c
Parents: fa33d45
Author: Suraj Pindoria <suraj.pindoria@yahoo.com>
Authored: Tue Aug 4 16:51:08 2015 -0700
Committer: Suraj Pindoria <suraj.pindoria@yahoo.com>
Committed: Tue Aug 4 16:51:08 2015 -0700

----------------------------------------------------------------------
 tests/tests.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/19c8a79a/tests/tests.js
----------------------------------------------------------------------
diff --git a/tests/tests.js b/tests/tests.js
index 66c9349..921ec10 100644
--- a/tests/tests.js
+++ b/tests/tests.js
@@ -3522,7 +3522,7 @@ exports.defineAutoTests = function () {
                 }, MEDIUM_TIMEOUT);
             });
             it("file.spec.144 copyTo: asset directory", function (done) {
-                var srcUrl = 'file:///android_asset/www/plugins/cordova-plugin-file';
+                var srcUrl = 'file:///android_asset/www';
                 var dstDir = "entry.copy.dstDir";
                 var dstPath = joinURL(root.fullPath, dstDir);
                 // create a new directory entry to kick off it
@@ -3542,7 +3542,7 @@ exports.defineAutoTests = function () {
                                 expect(dirEntry.isDirectory).toBe(true);
                                 expect(dirEntry.fullPath).toCanonicallyMatch(dstPath);
                                 expect(dirEntry.name).toCanonicallyMatch(dstDir);
-                                dirEntry.getFile('www/File.js', {
+                                dirEntry.getFile('cordova.js', {
                                     create : false
                                 }, function (fileEntry) {
                                     expect(fileEntry).toBeDefined();


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


Mime
View raw message