Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rewire.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'testLib/sharedTestCases.js')
-rw-r--r--testLib/sharedTestCases.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/testLib/sharedTestCases.js b/testLib/sharedTestCases.js
index 611a1d6..aa18516 100644
--- a/testLib/sharedTestCases.js
+++ b/testLib/sharedTestCases.js
@@ -260,14 +260,11 @@ module.exports = function () {
it("should not modify line numbers in stack traces", function () {
var throwError = rewire("./throwError.js");
- if (process.env.running_under_istanbul === "1") {
- return;
- }
try {
throwError();
} catch (err) {
if (err.stack) {
- expect(err.stack.split("\n")[1]).to.match(/:7:11/);
+ expect(err.stack.split("\n")[1]).to.match(/:6:26/);
}
}
});