Skip to content
Permalink
Browse files
Use fixture project instead of calling cordova create
  • Loading branch information
raphinesse committed Sep 6, 2018
1 parent bd6217e commit d438c6c785a9994e80b70da67eeb9e046355e509
Showing 1 changed file with 3 additions and 3 deletions.
@@ -40,9 +40,9 @@ describe('cordova/platform', () => {
platformsDir = path.join(project, 'platforms');
nodeModulesDir = path.join(project, 'node_modules');
testPlatformDir = path.join(platformsDir, testPlatform);
process.chdir(tmpDir);
return cordova.create(path.basename(project))
.then(() => process.chdir(project));

fs.copySync(path.join(fixturesDir, 'basePkgJson'), project);
process.chdir(project);
});

afterEach(() => {

0 comments on commit d438c6c

Please sign in to comment.