Skip to content

Commit d073b06

Browse files
committed
Do not catch ReferenceError
1 parent 6aa9673 commit d073b06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/vows/suite.js

+1
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ this.Suite.prototype = new(function () {
134134
topic = topic.apply(ctx.env, ctx.topics);
135135
}
136136
catch (ex) {
137+
if(/ReferenceError/.test(ex)) throw ex;
137138
topic = ex;
138139
}
139140

0 commit comments

Comments
 (0)