Skip to content

Fix floating promise in expectPermissionGetSucceeds#376

Open
marvin-kolja wants to merge 2 commits intofirebase:masterfrom
marvin-kolja:master
Open

Fix floating promise in expectPermissionGetSucceeds#376
marvin-kolja wants to merge 2 commits intofirebase:masterfrom
marvin-kolja:master

Conversation

@marvin-kolja
Copy link

The promise returned by assertSucceeds is not awaited in the expectPermissionGetSucceeds helper function.

This may lead to misleading test results, where tests pass/fail inconsistently.


To keep it consistent with the pattern used in the other util functions I've assigned the awaited result of assertSucceeds to a const.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant