Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export default function getConfig(rootPath: string): Config {
return {
jest: {
...readConfig({}, rootPath).projectConfig
},
jestScript: resolveJestCliPath(rootPath, 'jest-cli', 'bin/jest.js')
};
}
export default function getConfig(rootPath: string): Config {
return {
jest: {
...readConfig({}, rootPath).projectConfig
},
jestScript: resolveJestCliPath(rootPath, 'jest', 'bin/jest.js')
};
}