diff --git a/tests/js/session-tests.js b/tests/js/session-tests.js index 4d8f1a24..ed0cb82a 100644 --- a/tests/js/session-tests.js +++ b/tests/js/session-tests.js @@ -258,6 +258,7 @@ module.exports = { return Realm.open(config) .then(realm => { + return realm.syncSession; }).then(session => { TestCase.assertTrue(progressNotificationCalled, "Progress notification not called for Realm.open"); }); @@ -449,4 +450,4 @@ module.exports = { }); }); } -} \ No newline at end of file +}