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

[Node Upgrade] Revert packages using v8 coverage back to babel #5370

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

kofi-q
Copy link
Contributor

@kofi-q kofi-q commented Sep 10, 2024

Overview

Prepping for a Node upgrade, 16 -> (hopefully) 20 and v8 coverage breaks in v20 (nodejs/node#51251). Moving back to the babel coverage provider in packages that we previously moved to v8

Had to do some minor refactoring in a few cases to be able to mark the right blocks with istanbul ignore, but no functional changes.

@@ -35,6 +45,13 @@ beforeEach(() => {
featureFlagMock.enableFeatureFlag(
BooleanEnvironmentVariableName.SKIP_CAST_VOTE_RECORDS_AUTHENTICATION
);
mockOf(initializeGetWorkspaceDiskSpaceSummary).mockReturnValue(() =>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unrelated, but this test kept flaking locally, so copied this pattern from other tests that depend on this function to de-flake

@kofi-q kofi-q merged commit 3c6f79c into main Sep 11, 2024
62 checks passed
@kofi-q kofi-q deleted the 4163-revert-v8-coverage branch September 11, 2024 19:42
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