diff --git a/tests/js/session-tests.js b/tests/js/session-tests.js index 2a27b354..9f631b1d 100644 --- a/tests/js/session-tests.js +++ b/tests/js/session-tests.js @@ -247,7 +247,7 @@ module.exports = { sync: { user, url: `realm://localhost:9080/~/${realmName}`, - _onDownloadProgress: (transferred, remaining) => { + _onDownloadProgress: (transferred, total) => { progressNotificationCalled = true }, }, @@ -279,7 +279,7 @@ module.exports = { let progressNotificationCalled = false; let config = { sync: { user, url: `realm://localhost:9080/~/${realmName}`, - _onDownloadProgress: (transferred, remaining) => { + _onDownloadProgress: (transferred, total) => { progressNotificationCalled = true }, },