GregBrimble/gregbrimble-components

View on GitHub
src/components/Typography/Headlines/H2.test.js

Summary

Maintainability
A
1 hr
Test Coverage
import React from "react"
import H2 from "./H2"
import renderer from "react-test-renderer"

describe("H1", () => {
  it("renders properly", () => {
    const tree = renderer.create(<H2>Headline 2</H2>).toJSON()
    expect(tree).toMatchSnapshot()
  })
})