@travetto/test
Advanced tools
Comparing version 0.0.74 to 0.0.75
@@ -30,3 +30,3 @@ { | ||
}, | ||
"version": "0.0.74" | ||
"version": "0.0.75" | ||
} |
@@ -116,2 +116,4 @@ import * as fs from 'fs'; | ||
if (!(err instanceof assert.AssertionError)) { | ||
delete err.toJSON; // Do not allow the value to propagate as JSON | ||
let line = AssertUtil.readFilePosition(err, test.file).line; | ||
@@ -118,0 +120,0 @@ if (line === 1) { |
@@ -89,3 +89,3 @@ import * as minimist from 'minimist'; | ||
// Glob to module path | ||
const files = await ExecuteUtil.getTests(globs.map(x => new RegExp(x.replace(/[\\\/]/g, '/')))); | ||
const files = await ExecuteUtil.getTests(globs.map(x => new RegExp(`${x}`.replace(/[\\\/]/g, '/')))); | ||
return files; | ||
@@ -92,0 +92,0 @@ } |
51040
1432