Skip to content

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

Merged
scttcper merged 1 commit intomasterfrom
scttcper/jest-26-deprecated-methods
May 19, 2020
Merged

test: Replace require.requireActual and require.requireMock#18894
scttcper merged 1 commit intomasterfrom
scttcper/jest-26-deprecated-methods

Conversation

@scttcper
Copy link
Copy Markdown
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 a team and billyvg May 19, 2020 00:00
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants