Fixed issue with file paths not existing when using browserify
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 @@
}, 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 @@
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();