jasmine-ts-console-reporter
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "jasmine-ts-console-reporter", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A Jasmine Console Reporter that remaps Typescript files.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,5 +27,5 @@ const path = require('path'); | ||
if (options.filter instanceof RegExp) { | ||
result = result && options.filter.test(stackFrame.fileName); | ||
result = result && !options.filter.test(stackFrame.fileName); | ||
} else if (typeof options.filter === 'string') { | ||
result = result && minimatch(stackFrame.fileName, options.filter); | ||
result = result && !minimatch(stackFrame.fileName, options.filter); | ||
} | ||
@@ -32,0 +32,0 @@ return result; |
40610