rename test variable to reflect parameter meaning

This commit is contained in:
blagoev 2017-06-29 14:28:08 +03:00
parent f1695f33db
commit 30ad678dfa

View File

@ -247,7 +247,7 @@ module.exports = {
sync: { sync: {
user, user,
url: `realm://localhost:9080/~/${realmName}`, url: `realm://localhost:9080/~/${realmName}`,
_onDownloadProgress: (transferred, remaining) => { _onDownloadProgress: (transferred, total) => {
progressNotificationCalled = true progressNotificationCalled = true
}, },
}, },
@ -279,7 +279,7 @@ module.exports = {
let progressNotificationCalled = false; let progressNotificationCalled = false;
let config = { let config = {
sync: { user, url: `realm://localhost:9080/~/${realmName}`, sync: { user, url: `realm://localhost:9080/~/${realmName}`,
_onDownloadProgress: (transferred, remaining) => { _onDownloadProgress: (transferred, total) => {
progressNotificationCalled = true progressNotificationCalled = true
}, },
}, },