Commit Graph

2001 Commits

Author SHA1 Message Date
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
Radu Tutueanu b8c5bafd24 Fix untarring core 2016-11-09 17:51:19 +01:00
Radu Tutueanu 397dbbd2e5 Download node 2016-11-09 17:44:37 +01:00
Radu Tutueanu c9579dafd1 Enable build with sync when running tests 2016-11-09 17:28:47 +01:00
Radu Tutueanu c995253202 Fix building with sync 2016-11-09 17:25:25 +01:00
Radu Tutueanu ba48933561 Enable building without sync
This is needed because the linux node binding needs to work without sync
2016-11-09 16:47:17 +01:00
Søren Vind d5cd3d7266 Download and start ROS before running tests + Run all tests + Run using node4.4.7 2016-11-08 16:47:20 -08:00
Ari Lazier 42cab3a95a update submodule 2016-11-08 15:07:57 -08:00
Ari Lazier 8ce8f52105 add test for login 2016-11-08 14:07:04 -08:00
Ari Lazier b2e71a5fb6 test fixes 2016-11-08 09:21:27 -08:00
Ari Lazier fde1c5d00d start implementing sync tests 2016-11-08 08:59:30 -08:00
Ari Lazier 5a49dbc325 make sync work with RealmJS tests 2016-10-27 13:49:41 -07:00
Ari Lazier 60d9da1b44 remove unneded server argument for adminUser, update care and sync dependencies 2016-10-26 17:20:34 -07:00
Ari Lazier e52351fc50 add support for logging out 2016-10-26 17:00:46 -07:00