From 7d903cc96e6567f2bf17dfc88e343ecca62f9e8b Mon Sep 17 00:00:00 2001 From: toanz Date: Mon, 7 Aug 2017 10:28:01 +0700 Subject: [PATCH] correct testProgressNotificationsForRealmOpen ProgressNotifications is not working , this test is incorrect --- tests/js/session-tests.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/js/session-tests.js b/tests/js/session-tests.js index 1e72a71b..2dad582c 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 +}