-
-
Notifications
You must be signed in to change notification settings - Fork 580
Closed
mswjs/interceptors
#755Labels
bugSomething isn't workingSomething isn't workingscope:nodeRelated to MSW running in NodeRelated to MSW running in Node
Description
Prerequisites
- I confirm my issue is not in the opened issues
- I confirm the Frequently Asked Questions didn't contain the answer to my issue
Environment check
- I'm using the latest
mswversion - I'm using Node.js version 20 or higher
Node.js version
20.13.0
Reproduction repository
https://github.com/leaveswoods/msw-mem-leak
Reproduction steps
- Clone the repo: https://github.com/leaveswoods/msw-mem-leak
- Install Node.js 20
- Under test project root
- Run
./runMswMinimalTest.sh - Check the logs for heap usage before and after the tests.
Current behavior
The heap usage is increasing significantly after test with msw even though
- we force gc after test completed.
- we close msw server in the end.
Expected behavior
The heap usage should not increase overtime with msw enabled.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingscope:nodeRelated to MSW running in NodeRelated to MSW running in Node