mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-14 16:44:50 +00:00
Fix possible sporadic test failure
This commit is contained in:
parent
069bdfd2af
commit
4d1762025f
@ -59,6 +59,7 @@ module.exports = {
|
||||
return createUsersWithTestRealms(1)
|
||||
.then(([user]) => {
|
||||
return user.applyPermissions({ userId: '*' }, `/${user.identity}/test`, 'read')
|
||||
.then(wait(100))
|
||||
.then(() => user.getGrantedPermissions('any'))
|
||||
.then(permissions => {
|
||||
TestCase.assertEqual(permissions[1].path, `/${user.identity}/test`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user