Skip to content

Commit

Permalink
Fix FireEvent module
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Apr 25, 2019
1 parent cd924da commit 2e709fd
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/ReactTestingLibrary.re
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
open DomTestingLibrary;

module FireEvent = DomTestingLibrary.FireEvent;
module FireEvent = {
include FireEvent;
};

type renderResult;
type renderOptions = {
Expand Down
74 changes: 73 additions & 1 deletion src/ReactTestingLibrary.rei
Original file line number Diff line number Diff line change
@@ -1,4 +1,76 @@
module FireEvent = DomTestingLibrary.FireEvent;
module FireEvent {
let abort: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let animationEnd: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let animationIteration: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let animationStart: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let blur: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let canPlay: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let canPlayThrough: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let change: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let click: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let compositionEnd: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let compositionStart: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let compositionUpdate: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let contextMenu: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let copy: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let cut: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let dblClick: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let doubleClick: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let drag: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let dragEnd: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let dragEnter: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let dragExit: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let dragLeave: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let dragOver: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let dragStart: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let drop: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let durationChange: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let emptied: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let encrypted: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let ended: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let error: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let focus: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let focusIn: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let focusOut: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let input: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let invalid: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let keyDown: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let keyPress: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let keyUp: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let load: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let loadStart: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let loadedData: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let loadedMetadata: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let mouseDown: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let mouseEnter: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let mouseLeave: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let mouseMove: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let mouseOut: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let mouseOver: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let mouseUp: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let paste: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let pause: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let play: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let playing: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let progress: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let rateChange: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let scroll: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let seeked: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let seeking: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let select: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let stalled: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let submit: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let suspend: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let timeUpdate: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let touchCancel: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let touchEnd: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let touchMove: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let touchStart: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let transitionEnd: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let volumeChange: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let waiting: (~eventInit: Js.t({..})=?, Dom.element) => unit;
let wheel: (~eventInit: Js.t({..})=?, Dom.element) => unit;
};

type renderResult;
type renderOptions = {
Expand Down

0 comments on commit 2e709fd

Please sign in to comment.