Skip to content

Commit

Permalink
Remove unused code in test
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze committed Jun 5, 2018
1 parent 6a4ac28 commit 7efd67d
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/__tests__/ReactTestingLibrary_test.re
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
open Jest;

type t;

module Test = {
let component = ReasonReact.statelessComponent("Test");

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

[@bs.get] external log : unit => t = "console.log";

describe("ReactTestingLibrary", () => {
open ReactTestingLibrary;
open Expect;

let getFirstChild = element =>
element |> render |> container |> firstChild;

let element = (
<div style=ReactDOMRe.Style.make(~color="rebeccapurple", ())>
<h1> {ReasonReact.string("Heading")} </h1>
Expand Down

0 comments on commit 7efd67d

Please sign in to comment.