{"size": 428, "ext": "js", "max_stars_repo_path": "web/src/layouts/PublicLayout/PublicLayout.test.js", "max_stars_repo_name": "darryl-snow/web-app-boilerplate", "max_stars_repo_stars_event_min_datetime": "2020-12-16T10:00:28.000Z", "max_stars_repo_stars_event_max_datetime": "2020-12-16T10:00:28.000Z", "max_issues_repo_path": "web/src/layouts/PublicLayout/PublicLayout.test.js", "max_issues_repo_name": "darryl-snow/web-app-boilerplate", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "web/src/layouts/PublicLayout/PublicLayout.test.js", "max_forks_repo_name": "darryl-snow/web-app-boilerplate", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 21.4, "max_line_length": 60, "alphanum_fraction": 0.5957943925}
import { render, cleanup, screen } from '@redwoodjs/testing'

import PublicLayout from './PublicLayout'

describe('PublicLayout', () => {
  afterEach(() => {
    cleanup()
  })

  it('renders successfully', () => {
    expect(() => {
      render(<PublicLayout />)
    }).not.toThrow()
  })
  it('has a footer component', () => {
    render(<PublicLayout />)
    expect(screen.getByTestId('footer')).toBeInTheDocument()
  })
})
