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

[Feature] Flag to enable node's garbage collector #3

Closed
anurag-roy opened this issue Dec 31, 2023 · 3 comments
Closed

[Feature] Flag to enable node's garbage collector #3

anurag-roy opened this issue Dec 31, 2023 · 3 comments

Comments

@anurag-roy
Copy link
Contributor

I want to enable node's garbage collector for some of my tests, but there is no flag to do so using borp.

A flag like --expose-gc which I could pass to borp, would be nice.

Current Behaviour

Currently I have to do something like:

node --expose-gc node_modules/.bin/borp --coverage test/fetch/fetch-leak.js

Desired Behaviour

borp --expose-gc --coverage test/fetch/fetch-leak.js
@mcollina
Copy link
Owner

Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests.

@anurag-roy
Copy link
Contributor Author

@mcollina Yes I'd more than love to!

@mcollina
Copy link
Owner

go for it!

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

No branches or pull requests

2 participants