Skip to content

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

Merged
lholmquist merged 4 commits into
cloudevents:masterfrom
lholmquist:303-promise-tests-not-failing-the-build
Aug 7, 2020
Merged

lholmquist merged 4 commits into
cloudevents:masterfrom
lholmquist:303-promise-tests-not-failing-the-build

Conversation

@lholmquist

@lholmquist lholmquist commented Aug 6, 2020 •

Copy link
Copy Markdown
Contributor

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

@lance lance left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@helio-frota helio-frota left a comment

Copy link
Copy Markdown
Member

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
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.

3 participants