Merge pull request #1494 from realm/enable-objectid-test-rn
enable testSynced objectid test for RN
This commit is contained in:
commit
8dd1bdbee5
|
@ -44,9 +44,10 @@ module.exports = {
|
|||
},
|
||||
|
||||
testSynced: function() {
|
||||
if (!global.enableSyncTests || !isNodeProccess)
|
||||
return;
|
||||
|
||||
if (!global.enableSyncTests) {
|
||||
return Promise.resolve();
|
||||
}
|
||||
|
||||
return Realm.Sync.User.register('http://localhost:9080', uuid(), 'password').then(user => {
|
||||
const config = { sync: { user, url: 'realm://localhost:9080/~/myrealm' },
|
||||
schema: [{ name: 'IntegerPrimaryKey', properties: { int: 'int?' }, primaryKey: 'int' },
|
||||
|
|
Loading…
Reference in New Issue