remove assertion

This commit is contained in:
Yavor Georgiev 2017-04-04 15:26:54 +02:00 committed by blagoev
parent a37c38ca92
commit 9a8dc1327f
2 changed files with 1 additions and 2 deletions

View File

@ -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();

View File

@ -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() {