function shouldBeTested(suite) {
      return (
        !mocha.options.grep ||
        (mocha.options.grep &&
          mocha.options.grep.test(suite.fullTitle()) &&
          !mocha.options.invert)
      );
    }
Check if the suite should be tested.

@private
@param {Suite} suite - suite to check
@returns {boolean}