@travetto/test
Advanced tools
Comparing version 0.0.32 to 0.0.34
@@ -31,3 +31,3 @@ { | ||
}, | ||
"version": "0.0.32" | ||
"version": "0.0.34" | ||
} |
@@ -30,3 +30,7 @@ import * as fs from 'fs'; | ||
static async generateSuiteError(consumer: Consumer, suite: SuiteConfig, methodName: string, error: Error) { | ||
const { line, file } = AssertUtil.readFilePosition(error, suite.file); | ||
// tslint:disable:prefer-const | ||
let { line, file } = AssertUtil.readFilePosition(error, suite.file); | ||
if (line === 1) { | ||
line = suite.lines.start; | ||
} | ||
const badAssert: Assertion = { | ||
@@ -33,0 +37,0 @@ line, |
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
46543
1334