We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to use mysql-native with mocha.
Mocha detects global leaks - e.g.
h = 42; // when 'h' has not been declared
instead of
var h = 42;
A typical error is:
1) The engine module "before each" hook: Error: global leak detected: h
The error always involves 'h'. Does mysql-native use an 'h' without declaring it?
The text was updated successfully, but these errors were encountered:
Hard to remember. Easiest way to spot global variable leak is to add property setter, like
global.__defineSetter__('h', function() { console.log('property h leak!'); console.trace(); })
Sorry, something went wrong.
extra fix for sidorares#75
ff9e01d
55bb960
Merge pull request #76 from chrisdew/patch-1
cce2eb4
fix #75
Merge pull request #77 from chrisdew/patch-2
3304c99
extra fix for #75
No branches or pull requests
I'm trying to use mysql-native with mocha.
Mocha detects global leaks - e.g.
instead of
A typical error is:
The error always involves 'h'. Does mysql-native use an 'h' without declaring it?
The text was updated successfully, but these errors were encountered: