Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function getJestConfig(root: string) {
const yargs = require('yargs');
const argv = yargs(process.argv.slice(2)).argv;
const rawConfig = readRawConfig(argv, root);
return Object.freeze(setFromArgv.default(rawConfig, argv));
}