Skip to content

Memory leaks in unit tests #927

@sequba

Description

@sequba

Description

When running unit tests we can see that the heap size increases with every spec file. There must be a memory leak somewhere. It might be related to the way unit tests are written but we cannot be sure that the production code is OK. Needs investigation.

image
image

Steps to reproduce

  1. Run unit tests with heap size analysis
jest --runInBand --logHeapUsage

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions