Skip to content

Conversation

@kimjoar
Copy link
Contributor

@kimjoar kimjoar commented Jan 15, 2018

It's no longer needed as of Jest 22, see jestjs/jest#4884,

await expect(myPromise).rejects.toThrow('failure');

x-pack is already on Jest 22, while there's an open PR for Kibana: elastic/kibana#16041

Copy link
Contributor

@bevacqua bevacqua left a comment

Choose a reason for hiding this comment

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

LGTM

@kimjoar
Copy link
Contributor Author

kimjoar commented Jan 15, 2018

Merging this as it doesn't seem to be used anywhere yet.

@kimjoar kimjoar merged commit 83092ef into elastic:master Jan 15, 2018
@kimjoar
Copy link
Contributor Author

kimjoar commented Jan 15, 2018

cc @chrisronline

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.

2 participants