chai-nodules-helpers
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -15,3 +15,3 @@ module.exports = function(chai) { | ||
// get message template by code and convert it to appropriate regexp | ||
spec = new RegExp('^' + ErrClass.MESSAGES[spec].replace(/%.*%/g, '.*') + '$', 'ig'); | ||
spec = new RegExp('^' + ErrClass.MESSAGES[spec].replace(/%.*%/g, '.*') + '( \\(.*\\))?$', 'ig'); | ||
} | ||
@@ -18,0 +18,0 @@ } catch (error) { |
{ | ||
"name": "chai-nodules-helpers", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "nodules-specific assertion helpers for chai", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
25110