From fb47fb10cc2ee38eb711f5a3d8648395ce6cf13b Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Thu, 10 Nov 2016 11:51:37 -0800 Subject: [PATCH] remove sync test code from test app --- tests/react-test-app/index.ios.js | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/tests/react-test-app/index.ios.js b/tests/react-test-app/index.ios.js index eac96ec5..b9a3dc40 100644 --- a/tests/react-test-app/index.ios.js +++ b/tests/react-test-app/index.ios.js @@ -30,34 +30,6 @@ import { runTests } from './tests'; const Realm = require('realm'); -Realm.Sync.setLogLevel('error'); -var realm; -Realm.Sync.User.register('http://127.0.0.1:9080/', 'ari', 'aaa', function(error, user) { - console.log(user); - - realm = new Realm({ - sync: { - user: user, - url: 'realm://127.0.0.1:9080/~/demo/realm1' - }, - schema: [{ - name: 'IntObject', - properties: { - int: 'int' - } - }] - }); - - realm.addListener('change', () => { - console.log(realm.objects('IntObject')); - }); - - realm.write(() => { - realm.create('IntObject', {int: realm.objects('IntObject').length}); - }); -}); - - class ReactTests extends React.Component { render() { return (