Skip to content

Commit 7efd67d

Browse files
committed
Remove unused code in test
1 parent 6a4ac28 commit 7efd67d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/__tests__/ReactTestingLibrary_test.re

-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
open Jest;
22

3-
type t;
4-
53
module Test = {
64
let component = ReasonReact.statelessComponent("Test");
75

@@ -24,15 +22,10 @@ module Greeting = {
2422
[@bs.get] external firstChild : Dom.element => Dom.node = "";
2523
[@bs.get] external innerHTML : Dom.node => string = "";
2624

27-
[@bs.get] external log : unit => t = "console.log";
28-
2925
describe("ReactTestingLibrary", () => {
3026
open ReactTestingLibrary;
3127
open Expect;
3228

33-
let getFirstChild = element =>
34-
element |> render |> container |> firstChild;
35-
3629
let element = (
3730
<div style=ReactDOMRe.Style.make(~color="rebeccapurple", ())>
3831
<h1> {ReasonReact.string("Heading")} </h1>

0 commit comments

Comments
 (0)