mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-09 13:14:47 +00:00
wip
This commit is contained in:
parent
08acab63b7
commit
5dcd4ca28d
@ -53,14 +53,14 @@ void delete_all_realms() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void clear_test_state() {
|
void clear_test_state() {
|
||||||
delete_all_realms();
|
// delete_all_realms();
|
||||||
#if REALM_ENABLE_SYNC
|
#if REALM_ENABLE_SYNC
|
||||||
SyncManager& syncManagerShared = SyncManager::shared();
|
SyncManager& syncManagerShared = SyncManager::shared();
|
||||||
for(auto &user : syncManagerShared.all_logged_in_users()) {
|
// for(auto &user : syncManagerShared.all_logged_in_users()) {
|
||||||
user->log_out();
|
// user->log_out();
|
||||||
}
|
// }
|
||||||
syncManagerShared.reset_for_testing();
|
syncManagerShared.reset_for_testing();
|
||||||
syncManagerShared.configure_file_system(default_realm_file_directory(), SyncManager::MetadataMode::NoEncryption);
|
// syncManagerShared.configure_file_system(default_realm_file_directory(), SyncManager::MetadataMode::NoEncryption);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user