mysql-wrap-production
Advanced tools
Comparing version 0.5.4 to 0.5.5
{ | ||
"name": "mysql-wrap-production", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"description": "Mysql interface and helper functions, wrapping node-mysql", | ||
@@ -5,0 +5,0 @@ "main": "src/mysql-wrap.js", |
@@ -6,2 +6,4 @@ 'use strict'; | ||
Q.longStackSupport = true; | ||
let createMySQLWrap = function (poolCluster, options) { | ||
@@ -8,0 +10,0 @@ options = options || {}; |
@@ -136,2 +136,11 @@ 'use strict'; | ||
it('should propogate stack trace to application code', function (done) { | ||
let that = this; | ||
that.sql.query('SELECT wrong FROM `table`') | ||
.catch(function (err) { | ||
chai.assert.ok(/test\.js/.test(err.stack)); | ||
done(); | ||
}).done(); | ||
}); | ||
it('should be case insensitive', function (done) { | ||
@@ -138,0 +147,0 @@ let that = this; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36164
701