code: function () {
      if (this._isTestFileSpecified()) {
        this._checkPathExists(this.options.testPath);
  
        return Promise.resolve([ this.options.testPath ]);
      }
  
      var directory = this._getTestDirectory();
  
      this._checkPathExists(directory);
  
      var pattern = path.join(directory, '/**/*.{js,coffee,feature}');
  
      return Promise.promisify(glob)(pattern);
    }
docs: Functional._loadTestSuites() -> Object