You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2015/08/05 01:52:15 UTC
cordova-plugin-file git commit: Fixed issue with file paths not
existing when using browserify
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 <su...@yahoo.com>
Authored: Tue Aug 4 16:51:08 2015 -0700
Committer: Suraj Pindoria <su...@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