Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile committed Aug 31, 2023
1 parent 702d450 commit 6e56df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions tests/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

/* global cordova, FileTransfer, FileTransferError, FileUploadOptions, WinJS, LocalFileSystem */
/* global cordova, FileTransfer, FileTransferError, FileUploadOptions, LocalFileSystem */

exports.defineAutoTests = function () {
'use strict';
Expand All @@ -30,7 +30,6 @@ exports.defineAutoTests = function () {
const DEFAULT_FILESYSTEM_SIZE = 1024 * 50; // filesystem size in bytes
const UNKNOWN_HOST = 'http://foobar.apache.org';
const DOWNLOAD_TIMEOUT = 15 * ONE_SECOND;
const LONG_TIMEOUT = 60 * ONE_SECOND;
const UPLOAD_TIMEOUT = 15 * ONE_SECOND;
const ABORT_DELAY = 100; // for abort() tests
const LATIN1_SYMBOLS = '¥§©ÆÖÑøøø¼';
Expand Down Expand Up @@ -486,7 +485,6 @@ exports.defineAutoTests = function () {
it(
'filetransfer.spec.7 should download a file using file:// (when hosted from file://)',
function (done) {

const fileURL = window.location.protocol + '//' + window.location.pathname.replace(/ /g, '%20');
const specContext = this;

Expand Down
2 changes: 1 addition & 1 deletion www/FileTransfer.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*
*/

/* global cordova, FileSystem */
/* global FileSystem */

const argscheck = require('cordova/argscheck');
const exec = require('cordova/exec');
Expand Down

0 comments on commit 6e56df0

Please sign in to comment.