Skip to content

Commit

Permalink
Disable tests that were already broken
Browse files Browse the repository at this point in the history
These tests are broken beyond the scope of switching to fs-extra.
  • Loading branch information
raphinesse committed Sep 3, 2018
1 parent e656731 commit 32b62ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion integration-tests/HooksRunner.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,10 @@ describe('HooksRunner', function () {
});
});

it('Test 012 : should run before_plugin_uninstall, before_plugin_install, after_plugin_install hooks for a plugin being installed with correct opts.plugin context', function () {
// FIXME Sometimes the paths returned in the hook context are resolved to their realpath, sometimes not.
// Furthermore, using npm@3 (default for node@6) will install the local plugin by copying not by symlinking.
// Disabling this test until the paths in the in the hook context are handled consistently.
xit('Test 012 : should run before_plugin_uninstall, before_plugin_install, after_plugin_install hooks for a plugin being installed with correct opts.plugin context', function () {
const hooksToTest = [
'before_plugin_uninstall',
'before_plugin_install',
Expand Down
4 changes: 3 additions & 1 deletion integration-tests/plugman_uninstall.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ describe('uninstallPlatform', function () {
});
});

it('Test 014 : should uninstall dependent plugins', function () {
// FIXME this test messes up the project somehow so that 007 fails
// Re-enable once project setup is done beforeEach test
xit('Test 014 : should uninstall dependent plugins', function () {
var emit = spyOn(events, 'emit');
return uninstall.uninstallPlatform('android', project, 'A')
.then(function (result) {
Expand Down

0 comments on commit 32b62ff

Please sign in to comment.