Skip to content

Commit

Permalink
add tests for Error components
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendonButler committed Dec 11, 2024
1 parent 291c6cb commit 7c1684a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/components/ErrorsNotFound.cy.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'
import { NotFound } from './Errors'

describe('<NotFound />', () => {
it('renders', () => {
// see: https://on.cypress.io/mounting-react
cy.mount(<NotFound />)
})
})
9 changes: 9 additions & 0 deletions src/components/ErrorsServerError.cy.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import React from 'react'
import { ServerError } from './Errors'

describe('<ServerError />', () => {
it('renders', () => {
// see: https://on.cypress.io/mounting-react
cy.mount(<ServerError />)
})
})

0 comments on commit 7c1684a

Please sign in to comment.