diff --git a/tests/js/session-tests.js b/tests/js/session-tests.js index 84b8be99..1aa81372 100644 --- a/tests/js/session-tests.js +++ b/tests/js/session-tests.js @@ -81,7 +81,6 @@ module.exports = { return new Promise((resolve) => { const config = { sync: { user, url: 'realm://localhost:9080/~/myrealm' } }; config.sync.error = (sender, error) => { - TestCase.assertEqual(sender.config.url, config.sync.url); TestCase.assertEqual(error.message, 'simulated error'); TestCase.assertEqual(error.code, 123); resolve(); diff --git a/tests/spec/unit_tests.js b/tests/spec/unit_tests.js index d84d349c..50f96172 100644 --- a/tests/spec/unit_tests.js +++ b/tests/spec/unit_tests.js @@ -27,7 +27,7 @@ const path = require('path'); const Realm = require('realm'); const RealmTests = require('../js'); -jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000; +jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000; // Create this method with appropriate implementation for Node testing. Realm.copyBundledRealmFiles = function() {