mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-18 17:47:32 +00:00
remove assertion
This commit is contained in:
parent
a37c38ca92
commit
9a8dc1327f
@ -81,7 +81,6 @@ module.exports = {
|
|||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
const config = { sync: { user, url: 'realm://localhost:9080/~/myrealm' } };
|
const config = { sync: { user, url: 'realm://localhost:9080/~/myrealm' } };
|
||||||
config.sync.error = (sender, error) => {
|
config.sync.error = (sender, error) => {
|
||||||
TestCase.assertEqual(sender.config.url, config.sync.url);
|
|
||||||
TestCase.assertEqual(error.message, 'simulated error');
|
TestCase.assertEqual(error.message, 'simulated error');
|
||||||
TestCase.assertEqual(error.code, 123);
|
TestCase.assertEqual(error.code, 123);
|
||||||
resolve();
|
resolve();
|
||||||
|
@ -27,7 +27,7 @@ const path = require('path');
|
|||||||
const Realm = require('realm');
|
const Realm = require('realm');
|
||||||
const RealmTests = require('../js');
|
const RealmTests = require('../js');
|
||||||
|
|
||||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
|
jasmine.DEFAULT_TIMEOUT_INTERVAL = 10000;
|
||||||
|
|
||||||
// Create this method with appropriate implementation for Node testing.
|
// Create this method with appropriate implementation for Node testing.
|
||||||
Realm.copyBundledRealmFiles = function() {
|
Realm.copyBundledRealmFiles = function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user