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(dev-deps): jest 27 #278

Merged
merged 2 commits into from
Nov 7, 2021
Merged

chore(dev-deps): jest 27 #278

merged 2 commits into from
Nov 7, 2021

Conversation

AriPerkkio
Copy link
Owner

No description provided.

@AriPerkkio AriPerkkio force-pushed the chore/jest27 branch 3 times, most recently from 9f35434 to c73e076 Compare September 19, 2021 10:52
@AriPerkkio
Copy link
Owner Author

jest.isolateModules breaks when used with mocked modules.

beforeEach(() => {
restoreMockConfig();
jest.isolateModules(() => {
ProgressLogger = require('../../lib/progress-logger').default;
});
});

Waiting for possible unreleased fix: jestjs/jest#11882.

@AriPerkkio AriPerkkio force-pushed the chore/jest27 branch 3 times, most recently from 36bbd51 to ce447c9 Compare September 20, 2021 14:45
@AriPerkkio AriPerkkio marked this pull request as ready for review November 7, 2021 10:29
@AriPerkkio
Copy link
Owner Author

Proceeding with a simple work-around for isolateModules.

@AriPerkkio AriPerkkio merged commit 0c8ce73 into master Nov 7, 2021
@AriPerkkio AriPerkkio deleted the chore/jest27 branch November 7, 2021 10:30
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.

1 participant