Skip to content

Mitigate memory leaks in jest-environment-node #15215

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

Merged
merged 4 commits into from
May 25, 2025

#15215 Fix handling of globally shared circus event handlers

53ea04f
Select commit
Loading
Failed to load commit list.
Merged

Mitigate memory leaks in jest-environment-node #15215

#15215 Fix handling of globally shared circus event handlers
53ea04f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed May 24, 2025 in 1s

53.08% of diff hit (target 68.58%)

View this Pull Request on Codecov

53.08% of diff hit (target 68.58%)

Annotations

Check warning on line 17 in packages/jest-circus/src/state.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-circus/src/state.ts#L17

Added line #L17 was not covered by tests

Check warning on line 220 in packages/jest-environment-node/src/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-environment-node/src/index.ts#L220

Added line #L220 was not covered by tests

Check warning on line 273 in packages/jest-environment-node/src/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-environment-node/src/index.ts#L271-L273

Added lines #L271 - L273 were not covered by tests

Check warning on line 284 in packages/jest-environment-node/src/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-environment-node/src/index.ts#L284

Added line #L284 was not covered by tests

Check warning on line 290 in packages/jest-environment-node/src/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-environment-node/src/index.ts#L287-L290

Added lines #L287 - L290 were not covered by tests

Check warning on line 324 in packages/jest-environment-node/src/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-environment-node/src/index.ts#L322-L324

Added lines #L322 - L324 were not covered by tests

Check warning on line 327 in packages/jest-environment-node/src/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-environment-node/src/index.ts#L326-L327

Added lines #L326 - L327 were not covered by tests

Check warning on line 329 in packages/jest-environment-node/src/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-environment-node/src/index.ts#L329

Added line #L329 was not covered by tests

Check warning on line 187 in packages/jest-runner/src/runTest.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-runner/src/runTest.ts#L187

Added line #L187 was not covered by tests

Check warning on line 8 in packages/jest-util/src/garbage-collection-utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-util/src/garbage-collection-utils.ts#L8

Added line #L8 was not covered by tests

Check warning on line 16 in packages/jest-util/src/garbage-collection-utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-util/src/garbage-collection-utils.ts#L16

Added line #L16 was not covered by tests

Check warning on line 18 in packages/jest-util/src/garbage-collection-utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-util/src/garbage-collection-utils.ts#L18

Added line #L18 was not covered by tests

Check warning on line 20 in packages/jest-util/src/garbage-collection-utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-util/src/garbage-collection-utils.ts#L20

Added line #L20 was not covered by tests

Check warning on line 22 in packages/jest-util/src/garbage-collection-utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-util/src/garbage-collection-utils.ts#L22

Added line #L22 was not covered by tests

Check warning on line 40 in packages/jest-util/src/garbage-collection-utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-util/src/garbage-collection-utils.ts#L40

Added line #L40 was not covered by tests

Check warning on line 42 in packages/jest-util/src/garbage-collection-utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-util/src/garbage-collection-utils.ts#L42

Added line #L42 was not covered by tests

Check warning on line 44 in packages/jest-util/src/garbage-collection-utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-util/src/garbage-collection-utils.ts#L44

Added line #L44 was not covered by tests

Check warning on line 52 in packages/jest-util/src/garbage-collection-utils.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-util/src/garbage-collection-utils.ts#L52

Added line #L52 was not covered by tests

Check warning on line 20 in packages/jest-util/src/setGlobal.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-util/src/setGlobal.ts#L20

Added line #L20 was not covered by tests

Check warning on line 22 in packages/jest-util/src/setGlobal.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/jest-util/src/setGlobal.ts#L22

Added line #L22 was not covered by tests