Skip to content

Commit

Permalink
fix: don't fire change event for boolean inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
calebeby authored and Gpx committed Jul 20, 2019
1 parent e862462 commit 144c56a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ function clickBooleanElement(element) {
fireEvent.mouseDown(element);
fireEvent.mouseUp(element);
fireEvent.click(element);
fireEvent.change(element);
}

function clickElement(element) {
Expand Down Expand Up @@ -75,11 +74,9 @@ function dblClickCheckbox(checkbox) {
fireEvent.mouseDown(checkbox);
fireEvent.mouseUp(checkbox);
fireEvent.click(checkbox);
fireEvent.change(checkbox);
fireEvent.mouseDown(checkbox);
fireEvent.mouseUp(checkbox);
fireEvent.click(checkbox);
fireEvent.change(checkbox);
}

function selectOption(option) {
Expand Down

0 comments on commit 144c56a

Please sign in to comment.