in spec/fixture-helper.js [60:74]
async projectWithPlatform () {
const projectFixture = path.join(__dirname, 'cordova/fixtures/basePkgJson');
const projectPath = path.join(fixturesBaseDir, 'project-with-platform');
fs.copySync(projectFixture, projectPath);
process.chdir(projectPath);
// Talk about a clunky interface :(
const platforms = ['android'];
const opts = { platforms, save: true };
const hooksRunner = new HooksRunner(projectPath);
await platformAdd(hooksRunner, projectPath, platforms, opts);
return projectPath;
},