Last active
October 11, 2017 21:52
-
-
Save mateuszsokola/7f5a7179a3159174fe74c951c5ad578a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from "react"; | |
import { shallow } from "enzyme"; | |
import Hello from "../Hello"; | |
it("renders the heading", () => { | |
const result = shallow(<Hello />).contains(<h1>Hello!</h1>); | |
expect(result).toBeTruthy(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment