Skip to content
Permalink
Browse files
Remove 006 since it's a subset of 008 since removing --fetch
  • Loading branch information
raphinesse committed Sep 6, 2018
1 parent 31df80b commit 949eed32a24ab8e5291ea87d0d980b1bbc26f11d
Showing 1 changed file with 0 additions and 27 deletions.
@@ -128,33 +128,6 @@ describe('cordova/platform', () => {
});
});

describe('platform add plugin rm end-to-end', () => {

it('Test 006 : should remove dependency when removing parent plugin', () => {
return Promise.resolve()
.then(() => {
return cordova.platform('add', 'ios');
})
.then(() => {
return cordova.plugin('add', 'cordova-plugin-media');
})
.then(() => {
expect(path.join(pluginsDir, 'cordova-plugin-media')).toExist();
expect(path.join(pluginsDir, 'cordova-plugin-file')).toExist();
return cordova.platform('add', 'android');
})
.then(() => {
expect(path.join(pluginsDir, 'cordova-plugin-media')).toExist();
expect(path.join(pluginsDir, 'cordova-plugin-file')).toExist();
return cordova.plugin('rm', 'cordova-plugin-media');
})
.then(() => {
expect(path.join(pluginsDir, 'cordova-plugin-media')).not.toExist();
expect(path.join(pluginsDir, 'cordova-plugin-file')).not.toExist();
});
});
});

describe('platform add and remove --fetch', () => {

it('Test 007 : should add and remove platform from node_modules directory', () => {

0 comments on commit 949eed3

Please sign in to comment.