We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a4ac28 commit 7efd67dCopy full SHA for 7efd67d
src/__tests__/ReactTestingLibrary_test.re
@@ -1,7 +1,5 @@
1
open Jest;
2
3
-type t;
4
-
5
module Test = {
6
let component = ReasonReact.statelessComponent("Test");
7
@@ -24,15 +22,10 @@ module Greeting = {
24
22
[@bs.get] external firstChild : Dom.element => Dom.node = "";
25
23
[@bs.get] external innerHTML : Dom.node => string = "";
26
27
-[@bs.get] external log : unit => t = "console.log";
28
29
describe("ReactTestingLibrary", () => {
30
open ReactTestingLibrary;
31
open Expect;
32
33
- let getFirstChild = element =>
34
- element |> render |> container |> firstChild;
35
36
let element = (
37
<div style=ReactDOMRe.Style.make(~color="rebeccapurple", ())>
38
<h1> {ReasonReact.string("Heading")} </h1>
0 commit comments