message: fix unhandled rejection warning
diff: @@ -35,6 +35,7 @@ import yargs from 'yargs';
  import rimraf from 'rimraf';
  export async function run(maybeArgv?: Argv, project?: Path) {
  + try {
  const argv: Argv = buildArgv(maybeArgv, project);
  const projects = getProjectListFromCLIArgs(argv, project);
  // If we're running a single Jest project, we might want to use another
  @@ -43,6 +44,13 @@ export async function run(maybeArgv?: Argv, project?: Path) {
  const {results, globalConfig} = await runCLIFn(argv, projects);
  readResultsAndExit(results, globalConfig);
  + } catch (error) {
  + clearLine(process.stderr);
  + clearLine(process.stdout);
  + console.error(chalk.red(error.stack));
  + process.exit(1);
  + throw error;
  + }
  }
  export const runCLI = async (
  @@ -62,7 +70,6 @@ export const runCLI = async (
  argv.version && printVersionAndExit(outputStream);
  - try {
  const {globalConfig, configs, hasDeprecationWarnings} = getConfigs(
  projects,
  argv,
  @@ -100,13 +107,6 @@ export const runCLI = async (
  }
  return Promise.resolve({globalConfig, results});
  - } catch (error) {
  - clearLine(process.stderr);
  - clearLine(process.stdout);
  - console.error(chalk.red(error.stack));
  - process.exit(1);
  - throw error;
  - }
  };
  const readResultsAndExit = (
  