lib/functional.js
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);
  }
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);
  }
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 ) ; }
Functional._loadTestSuites() -> Object
Functional . _loadTestSuites () - > Object