Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function emberApp(dir: string, userOpts: any = {}): any {
let cli = new MockCLI();
let project = new EmberCLIProject(dir, readJSONSync(join(dir, 'package.json')), cli.ui, cli);
return new EmberApp({ project }, userOpts);
}