mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
12 lines
355 B
JavaScript
Executable File
12 lines
355 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
'use strict';
|
|
|
|
if (process.argv.length <= 2) process.argv.push('!(node_modules)/**/*.test.js');
|
|
if (!process.argv.includes('-R')) process.argv.splice(2, 0, '-R', 'tests/mocha-reporter');
|
|
if (!process.argv.includes('--require=sinon-bluebird')) {
|
|
process.argv.splice(2, 0, '--require=sinon-bluebird');
|
|
}
|
|
|
|
require('mocha/bin/_mocha');
|