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

test: Replace require.requireActual and require.requireMock #18894

Merged
merged 1 commit into from May 19, 2020

Conversation

scttcper
Copy link
Member

require.requireActual and require.requireMock have been removed in jest 26 in favor of jest.requireActual and jest.requireMock

https://jestjs.io/blog/2020/05/05/jest-26#other-breaking-changes-in-jest-26

@scttcper scttcper requested review from billyvg and a team May 19, 2020 00:00
Copy link
Member

@billyvg billyvg left a comment

Choose a reason for hiding this comment

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

Thanks for updating this!

@billyvg
Copy link
Member

billyvg commented May 19, 2020

See jestjs/jest#9854

@scttcper scttcper merged commit 01dd994 into master May 19, 2020
@scttcper scttcper deleted the scttcper/jest-26-deprecated-methods branch May 19, 2020 01:55
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants