Expose the Node.js GC when running `mocha `scripts by rcjsuen · Pull Request #1258 · nodegit/nodegit · GitHub
Skip to content

Expose the Node.js GC when running mocha scripts#1258

Merged
implausible merged 1 commit into
nodegit:masterfrom
rcjsuen:mocha
Dec 20, 2017
Merged

Expose the Node.js GC when running mocha scripts#1258
implausible merged 1 commit into
nodegit:masterfrom
rcjsuen:mocha

Conversation

@rcjsuen

@rcjsuen rcjsuen commented Mar 26, 2017

Copy link
Copy Markdown
Member

Add --expose-gc to the mocha and mochaDebug scripts in package.json so that the memory leak tests can be tested.

The memory leak tests rely on the global.gc() function being
available. The GC needs to be exposed if the `mocha` or `mochaDebug`
script is being run.
@implausible implausible merged commit bd0b619 into nodegit:master Dec 20, 2017
@rcjsuen rcjsuen deleted the mocha branch December 20, 2017 21:26
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