From 1cdfd1cd15532b827b2e37c6bb6ec4cd3ad4e11c Mon Sep 17 00:00:00 2001 From: cloudhead Date: Fri, 11 Jun 2010 01:35:42 -0400 Subject: [PATCH] don't output contexts for pending vows in watch mode --- lib/vows/reporters/watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vows/reporters/watch.js b/lib/vows/reporters/watch.js index 7621802..5d59790 100644 --- a/lib/vows/reporters/watch.js +++ b/lib/vows/reporters/watch.js @@ -20,7 +20,7 @@ this.report = function (data) { switch (data[0]) { case 'vow': - if (event.status !== 'honored') { + if (['honored', 'pending'].indexOf(event.status) === -1) { if (lastContext !== event.context) { lastContext = event.context; puts(event.context);