Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
sugh01 committed Sep 11, 2024
1 parent a4b96cf commit eadf20b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/@atoms/ErrorScreen.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ import { describe, expect, it, vi } from 'vitest'

import ErrorScreen from './ErrorScreen'

vi.mock('next/link', () => ({
__esModule: true,
default: ({ children, ...props }: { children: React.ReactNode }) => <a {...props}>{children}</a>,
}))

describe('ErrorScreen', () => {
it('renders not-found error correctly', () => {
render(<ErrorScreen errorType="not-found" />)
Expand Down

0 comments on commit eadf20b

Please sign in to comment.