-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes try catch tests and remove unecessary asseritons #1434
Fixes try catch tests and remove unecessary asseritons #1434
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #1434 +/- ##
=======================================
Coverage 78.14% 78.14%
=======================================
Files 32 32
Lines 2599 2599
Branches 529 529
=======================================
Hits 2031 2031
Misses 402 402
Partials 166 166 ☔ View full report in Codecov by Sentry. |
a99932a
to
c9c08a7
Compare
Added temporary fix in dapp-example/tests/e2e/specs/index.spec.js due to issue in synpress library: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
4783703
to
411488a
Compare
Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]>
Signed-off-by: Konstantina Blazhukova <[email protected]>
411488a
to
1e3602e
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
* Fixes try catch tests and remove unecessary asseritons Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]> * Adds missing dependency Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]> * Fixes accidental deletion Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]> * Moves chai import to index; remove uneccessary imports Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]> * Removes duplication Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]> * Fixes accidental commit of comments in index Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]> * Removes unexpected parameter passed to function Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]> * Adds temporary fix in dapp due to synpress issue Signed-off-by: Konstantina Blazhukova <[email protected]> --------- Signed-off-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Konstantina Blazhukova <[email protected]> Co-authored-by: Konstantina Blazhukova <[email protected]> Signed-off-by: Mo Shaikjee <[email protected]>
Description:
Currently in the acceptance tests try catch logic is used, however we do not check whether an error is actually thrown and we enter the catch. Therefore, this PR changes the logic so we take the maximum of the chai library in order to make the tests effective and intuitive
What is included