Skip to content
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

chore(test): migrate away from done.fail() #3309

Merged
merged 2 commits into from
Jul 9, 2019

Conversation

asudoh
Copy link
Contributor

@asudoh asudoh commented Jul 8, 2019

jest-circus, the test runner we are using, does not seem to support Jasmine done.fail() API.

Found in a CI for #3054.

Changelog

Changed

  • Replaced done.fail(error) with done(error) or an async function.

Testing / Reviewing

Testing should make sure our CI is not broken.

`jest-circus`, the test runner we are using, does not seem to support
Jasmine `done.fail()` API.

Found in a CI for carbon-design-system#3054.
@netlify
Copy link

netlify bot commented Jul 8, 2019

Deploy preview for the-carbon-components ready!

Built with commit 1d481ca

https://deploy-preview-3309--the-carbon-components.netlify.com

@netlify
Copy link

netlify bot commented Jul 9, 2019

Deploy preview for carbon-elements ready!

Built with commit 1d481ca

https://deploy-preview-3309--carbon-elements.netlify.com

@netlify
Copy link

netlify bot commented Jul 9, 2019

Deploy preview for carbon-components-react ready!

Built with commit 1d481ca

https://deploy-preview-3309--carbon-components-react.netlify.com

Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

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

this helped me debug the sass compile error in #3054 after I merged this working branch in, thanks!

@emyarod emyarod merged commit 3b124f9 into carbon-design-system:master Jul 9, 2019
@asudoh asudoh deleted the done-fail branch July 9, 2019 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants