diff --git a/index.js b/index.js index 52ccdaa8..c63813f2 100644 --- a/index.js +++ b/index.js @@ -43,7 +43,7 @@ module.exports = { return ESLint.create(tree, { testGenerator: this.options.testGenerator || this._testGenerator, - group: (this.options.group !== false) ? type : undefined, + group: (this.options.testGenerator && this.options.group !== false) ? type : undefined, extensions: this.options.extensions, options: {