```sh
yarn test --build --project devtools
```

This doesn't actually run any DevTools tests. It runs the main React tests.

Console output shows that it's choosing the wrong config:
```sh
$ yarn test --build --project devtools
$ node ./scripts/jest/jest-cli.js --build --project devtools
$ NODE_ENV=development RELEASE_CHANNEL=experimental node ./scripts/jest/jest.js --config ./scripts/jest/config.build.js
```

I wonder if this is also happening for other targets?
'Build type does not match --dev. Update these options to continue.'
    );
    success = false;
  }
  if (argv.prod && argv.dev) {
    logError(
      'Cannot supply both --prod and --dev. Remove one of these options to continue.'
    );
    success = false;
  }
  if (argv.build) {
    
    const buildDir = path.resolve('./build');
    if (!fs.existsSync(buildDir)) {
      logError(
        'Build directory does not exist, please run `yarn build` or remove the --build option.'
      );
      success = false;
    } else if (Date.now() - fs.statSync(buildDir).mtimeMs > 1000 * 60 * 15) {
      logError(
        'Warning: Running a build test with a build directory older than 15 minutes.\nPlease remember to run `yarn build` when using --build.'
      );
    }
  }
  if (!success) {
    console.log(''); 
    process.exit(1);
  }
}
function getCommandArgs() {