Commit Graph

2364 Commits

Author SHA1 Message Date
Ari Lazier 2b90def150 terrible hack to make rn not retain the context 2016-11-11 15:05:08 -08:00
Søren Vind 14e75f12bc Documentation for .all and .current 2016-11-11 14:54:12 -08:00
Ari Lazier d9398a0bb9 restart simulators 2016-11-11 12:32:20 -08:00
Ari Lazier bb7e98cbbe use latest rn version 2016-11-11 12:01:31 -08:00
Ari Lazier b2077910a4 fix for handle scope warning 2016-11-11 11:41:27 -08:00
Ari Lazier 7683d1185a rerun tests on failure 2016-11-11 11:31:00 -08:00
Ari Lazier 588fc50e9f try to build then test 2016-11-11 11:24:35 -08:00
Ari Lazier 7970e9d575 remove outdated/out of place examples 2016-11-11 11:12:46 -08:00
Radu Tutueanu 0b9cca78d6 Download core OR sync
No need to download both
2016-11-11 17:42:35 +01:00
Radu Tutueanu e268cfef58 Add variable to enable skipping the download 2016-11-11 17:39:07 +01:00
Radu Tutueanu 900827d72f Skip the download if PREFIX env variables are defined 2016-11-11 14:46:16 +01:00
Ari Lazier d229cd6130 throw exception when trying to open a realm with an invalid user 2016-11-11 00:14:52 -08:00
Ari Lazier 08ffc3bf15 ccache support 2016-11-10 23:55:26 -08:00
Ari Lazier 81402f890b use yarn and fix for test app package.json 2016-11-10 23:11:31 -08:00
Søren Vind 88aae65721 Test logout, slightly better test scaffolding (so now we run tests to completion on the outer level of callbacks). 2016-11-10 18:06:27 -08:00
Ari Lazier 30679c2470 remove unneeded script phases 2016-11-10 15:54:24 -08:00
Ari Lazier babd9b6c3d don't unzip sync zip when not needed 2016-11-10 14:29:28 -08:00
Ari Lazier 6d485866f6 all users should return a dictionary 2016-11-10 13:55:22 -08:00
Søren Vind 87b30fb4ec Add tests of Realm.Sync.User.all and Realm.Sync.User.current. Fix both to only return active (logged-in) users. Fix current return values: Throws if >1 user logged in, returns undefined if no logged in. 2016-11-10 12:54:15 -08:00
Søren Vind 448f68a787 Reformat code, 2 spaces 2016-11-10 12:54:15 -08:00
Ari Lazier fb47fb10cc remove sync test code from test app 2016-11-10 11:51:37 -08:00
Ari Lazier 0cc306ca26 Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests 2016-11-10 11:45:04 -08:00
Ari Lazier aeea153a06 don't reset simulators 2016-11-10 11:44:57 -08:00
JP Simard 219947db9e
try to work around failure to run the tests 2016-11-10 11:26:27 -08:00
Ari Lazier 8bd5ee8be7 Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests 2016-11-10 10:50:51 -08:00
Adam Lebsack 58e2032998 Merge pull request #649 from realm/rt/fix-node-linux
Fix node tests for linux
2016-11-10 19:50:36 +01:00
Ari Lazier a47d6b12c0 fix for reset script 2016-11-10 10:50:33 -08:00
Søren Vind 164ea8ec79 Port over remaining tests for Realm.Sync.User 2016-11-10 10:35:36 -08:00
Ari Lazier 5b3825092d updated simulator script 2016-11-10 10:32:59 -08:00
Adam Lebsack 6b8fa6bf16 Do not run docker interactively 2016-11-10 19:28:39 +01:00
Ari Lazier 97b5101c5e no xcpretty 2016-11-10 10:19:46 -08:00
Adam Lebsack 5080c54b23 Added docker-test.sh wrapper for running linux tests 2016-11-10 19:13:52 +01:00
Ari Lazier 313ca1c3cf improved ci script 2016-11-10 10:06:48 -08:00
Ari Lazier 0495c1f906 fixed object store 2016-11-10 08:51:14 -08:00
Radu Tutueanu 54e30cdd0b Merge remote-tracking branch 'origin/al-sync-user-tests' into rt/fix-node-linux 2016-11-10 16:09:24 +01:00
Ari Lazier 3b91ca94f4 use updated object store 2016-11-10 06:58:03 -08:00
Ari Lazier e07cbf8549 Merge branch 'al-sync-user-tests' of https://github.com/realm/realm-js into al-sync-user-tests 2016-11-10 06:46:30 -08:00
Ari Lazier e954184d68 use xcpretty 2016-11-10 06:46:21 -08:00
Radu Tutueanu 8ad43b0505 Do not use sync on linux 2016-11-10 14:42:58 +01:00
Radu Tutueanu 63371d1e2b Fix package.json 2016-11-10 13:57:06 +01:00
Radu Tutueanu b38c428e82 Use dependencies.list
Fixes  #644
2016-11-10 13:53:28 +01:00
Ari Lazier 6a257d594e only npm install actual dependencies 2016-11-10 04:42:07 -08:00
Ari Lazier dff6c833ff hack to install yarn on ci 2016-11-10 04:28:58 -08:00
Ari Lazier c5c451ed18 remove invalid resource 2016-11-10 04:23:34 -08:00
Ari Lazier 3e37795d62 fix for unregistering notifications in a notification 2016-11-09 18:01:56 -08:00
Ari Lazier 85c655a91c fix for constructor destruction after timeout 2016-11-09 17:46:26 -08:00
Ari Lazier 4fc874f35c some small fixes for download-core script 2016-11-09 15:01:42 -08:00
Søren Vind f8eba17c48 Make it possible to run test suite with and without sync 2016-11-09 12:50:19 -08:00
Radu Tutueanu 049db589a8 Merge pull request #647 from realm/rt/fix-node--tests
Fix node tests
2016-11-09 19:14:38 +01:00
Radu Tutueanu 9833b8e490 Build macOS with sync by default 2016-11-09 19:07:26 +01:00