We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6454351 commit 1cb886cCopy full SHA for 1cb886c
lib/vows.js
@@ -172,8 +172,10 @@ function addVows(tests) {
172
(function count(tests) {
173
var match = false;
174
remaining++;
175
- Object.keys(tests).forEach(function (key) {
176
- if (typeof(tests[key]) === "object" && !Array.isArray(tests[key])) {
+ Object.keys(tests).filter(function (k) {
+ return k !== 'topic';
177
+ }).forEach(function (key) {
178
+ if (typeof(tests[key]) === "object") {
179
if (! (match = count(tests[key]) ||
180
match || vows.options.matcher.test(key))) {
181
delete tests[key];
0 commit comments