Skip to content

Commit

Permalink
Remove temp dir after create.spec.js test (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
GedasGa authored and erisu committed Mar 14, 2019
1 parent 8afbf6a commit a4663bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/spec/unit/create.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,8 @@ describe('create', () => {
create.createProject(tmpDir, projectname, projectid, projectname);

expect(emitSpy).toHaveBeenCalledWith('error', 'Please make sure you meet the software requirements in order to build a cordova electron project');

// clean-up
fs.removeSync(tmpDir);
});
});

0 comments on commit a4663bd

Please sign in to comment.