Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5674 from adobe/nj/fix-test-failure
Browse files Browse the repository at this point in the history
Remove check for subtree modification, since it can fire erroneously when $.find() is called
  • Loading branch information
bchintx committed Oct 24, 2013
2 parents f244f62 + 34ef9b4 commit 8b534ef
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/spec/InstallExtensionDialog-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,7 @@ define(function (require, exports, module) {
fields.$okButton.click();
installer.install.reset();

var modSpy = jasmine.createSpy("modSpy");
fields.$dlg.on("DOMSubtreeModified", modSpy);
SpecRunnerUtils.simulateKeyEvent(KeyEvent.DOM_VK_RETURN, "keydown", fields.$dlg[0]);
expect(modSpy).not.toHaveBeenCalled();
expect(installer.install).not.toHaveBeenCalled();
expect(installer.cancel).not.toHaveBeenCalled();

Expand Down

0 comments on commit 8b534ef

Please sign in to comment.