Package.describe({
  name: 'meteortesting:mocha',
  summary: 'Run Meteor package or app tests with Mocha',
  git: 'https://github.com/meteortesting/meteor-mocha.git',
  documentation: '../README.md',
  version: '0.5.1',
  testOnly: true,
});

Package.onUse(function onUse(api) {
  api.use([
    'practicalmeteor:mocha-core@1.0.0',
    'ecmascript@0.3.0',
    'lmieulet:meteor-coverage@1.1.4',
  ]);

  api.use([
    'browser-policy@1.0.0',
    'http@1.1.1',
    'meteortesting:browser-tests@0.2.0'
  ], 'server');

  api.mainModule('client.js', 'client');
  api.mainModule('server.js', 'server');
});

Package.describe({
  name: 'meteortesting:mocha',
  summary: 'Run Meteor package or app tests with Mocha',
  git: 'https://github.com/meteortesting/meteor-mocha.git',
  documentation: '../README.md',
  version: '0.5.1',
  testOnly: true,
});

Package.onUse(function onUse(api) {
  api.use([
    'practicalmeteor:mocha-core@1.0.0',
    'ecmascript@0.3.0',
    'lmieulet:meteor-coverage@1.1.4 || 2.0.1',
  ]);

  api.use([
    'browser-policy@1.0.0',
    'http@1.1.1',
    'meteortesting:browser-tests@0.2.0'
  ], 'server');

  api.mainModule('client.js', 'client');
  api.mainModule('server.js', 'server');
});

Allow using meteor-coverage 2.x.x, needed for code-coverage support from meteor 1.6.0 and onwards
Allow using meteor-coverage 2.x.x, needed for code-coverage support from meteor 1.6.0 and onwards
