Skip to content
Permalink
Browse files
Remove outdated test from cordova/util.spec
isCordova does not actually care about the user's home directory.
  • Loading branch information
raphinesse committed Apr 1, 2019
1 parent 0f881ad commit 839b455566d569d478af9fe06ae1ba6097e6c256
Showing 1 changed file with 0 additions and 6 deletions.
@@ -37,12 +37,6 @@ describe('util module', function () {
function removeDir (directory) {
fs.removeSync(directory);
}
it('Test 001 : should return false if it hits the home directory', function () {
var somedir = path.join(home, 'somedir');
removeDir(somedir);
fs.ensureDirSync(somedir);
expect(util.isCordova(somedir)).toEqual(false);
});
it('Test 002 : should return false if it cannot find a .cordova directory up the directory tree', function () {
var somedir = path.join(home, '..');
expect(util.isCordova(somedir)).toEqual(false);

0 comments on commit 839b455

Please sign in to comment.