module.exports = {
  options: {
    // On TravisCI, sometimes the tests that require I/O need extra time.
    timeout: 5000,
    reporter: 'mocha-multi',
    reporterOptions: {
      spec: '-',
    },
  },
  all: ['dist/tests.js'],
};

if (process.env.COVERAGE === 'y') {
  var path = require('path');

  var coverageReporterModulePath = path.resolve(
    path.join(__dirname, '..', 'tests', 'coverage-reporter.js')
  );

  module.exports.options.reporterOptions[coverageReporterModulePath] = '-';
}

module.exports = {
  options: {
    // On TravisCI, sometimes the tests that require I/O need extra time.
    timeout: 10000,
    reporter: 'mocha-multi',
    reporterOptions: {
      spec: '-',
    },
  },
  all: ['dist/tests.js'],
};

if (process.env.COVERAGE === 'y') {
  var path = require('path');

  var coverageReporterModulePath = path.resolve(
    path.join(__dirname, '..', 'tests', 'coverage-reporter.js')
  );

  module.exports.options.reporterOptions[coverageReporterModulePath] = '-';
}

Increase test suite time-out for Travis I/O
chore: Increase test suite time-out for Travis I/O
