Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: fix promise tests to break the build when they fail #305

Conversation

lholmquist
Copy link
Contributor

@lholmquist lholmquist commented Aug 6, 2020

This updates some the tests that are promise based to return the promise so mocha fails correctly if a test fails

Link to the CI run that proves that it fails, https://github.com/cloudevents/sdk-javascript/runs/954405480?check_suite_focus=true#step:6:559

Description

Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
Signed-off-by: Lucas Holmquist <lholmqui@redhat.com>
@lholmquist lholmquist force-pushed the 303-promise-tests-not-failing-the-build branch from 7c1bf19 to 95b43ad Compare August 6, 2020 15:23
@lholmquist lholmquist marked this pull request as ready for review August 6, 2020 15:24
Copy link
Member

@lance lance left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@helio-frota helio-frota left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch and fix

@lholmquist lholmquist merged commit a5249de into cloudevents:master Aug 7, 2020
@lholmquist lholmquist deleted the 303-promise-tests-not-failing-the-build branch August 7, 2020 13:00
@lholmquist lholmquist mentioned this pull request Aug 7, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants