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

[7.x] Update jest to v24 (#31825) #32193

Merged
merged 2 commits into from
Feb 28, 2019
Merged

Conversation

mshustov
Copy link
Contributor

Backports the following commits to 7.x:

@elasticmachine
Copy link
Contributor

💔 Build Failed

@mshustov mshustov force-pushed the backport/7.x/pr-31825 branch from b0ec9c2 to 6458c33 Compare February 28, 2019 13:06
* udpate jest, jest-cli, @types/jest to v24

* fix type error in kibana-i18n package

* return serivce explicitly to fix typings

* add explicit never

* suppress typings errors

* update jest versions in x-pack

* make tests in x-pack more robust and fix incompatibility

* suppress CallCluster mock typings

Mock interface doesn't match CallCluster. Requires
additional work

* x-pack. resolve other typing conflicts

* remove unused types/jest

* fix snapshots

* restore mocks after jest.spyOn

* remove outdated definitions for jest

* cleanup x-pack package.json and update @types/jest

* fix tests merged from master

* updated yarn.lock and log errors for scripts/type_check

* This commit fixes error in TS, which failed on parsing the file.

* suppress type errors from master

* jest-cli is devDep

Removes sinon from saved objects unit tests. (elastic#32045) (elastic#32151)

* Removes sinon from saved objects unit tests.

* Uses mockResolvedValue for return values as promises.

temp
@mshustov mshustov force-pushed the backport/7.x/pr-31825 branch from 6d50221 to 1751e37 Compare February 28, 2019 14:02
@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@mshustov mshustov merged commit c2c8f9d into elastic:7.x Feb 28, 2019
@mshustov mshustov deleted the backport/7.x/pr-31825 branch February 28, 2019 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants