{"size": 298, "ext": "js", "max_stars_repo_path": "src/components/molecules/Header/__test__/Header.spec.js", "max_stars_repo_name": "getvault/vault", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/components/molecules/Header/__test__/Header.spec.js", "max_issues_repo_name": "getvault/vault", "max_issues_repo_issues_event_min_datetime": "2022-02-28T01:47:26.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-28T01:47:26.000Z", "max_forks_repo_path": "src/components/molecules/Header/__test__/Header.spec.js", "max_forks_repo_name": "friedrith/vault", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 21.2857142857, "max_line_length": 59, "alphanum_fraction": 0.6375838926}
import React from 'react'

import { render } from '__test__/render'

import Header from '../Header'

describe('Header', () => {
  it('should display a button to add a new secret', () => {
    const { getByText } = render(<Header />)

    expect(getByText('New secret')).toBeInTheDocument()
  })
})
