mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
23 lines
373 B
JavaScript
Executable File
23 lines
373 B
JavaScript
Executable File
#!/usr/bin/env node
|
|
|
|
'use strict';
|
|
|
|
process.on('unhandledRejection', err => {
|
|
throw err;
|
|
});
|
|
|
|
if (!process.env.FORCE_COLOR) process.env.FORCE_COLOR = '0';
|
|
|
|
if (process.argv.length <= 2) {
|
|
process.argv.push(
|
|
'!(node_modules)/**/*.test.js',
|
|
'--require=sinon-bluebird',
|
|
'-R',
|
|
'spec',
|
|
'--recursive',
|
|
'--no-exit'
|
|
);
|
|
}
|
|
|
|
require('mocha/bin/_mocha');
|