Skip to content

Commit

Permalink
Fix even more tests...
Browse files Browse the repository at this point in the history
  • Loading branch information
LanDinh committed Nov 15, 2023
1 parent c6cbd1c commit 64aa1dc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { BreadCrumbs } from '../../app/khaleesi/navigation/breadcrumb'
import { Content } from '../../app/khaleesi/components/content'


jest.mock('../../app/khaleesi/components/navigation/breadcrumb')
jest.mock('../../app/khaleesi/navigation/breadcrumb')


test('Content gets rendered without errors.', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { createTestingStub } from '../util/remixStub'


const originalError = console.error.bind(console.error)
jest.mock('../../app/khaleesi/components/navigation/navigation')
jest.mock('../../app/khaleesi/navigation/navigation')
jest.mock('../../app/khaleesi/components/content')

beforeAll(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { NavigationElement } from '../../../app/khaleesi/navigation/navigationEl
import { breadcrumb, BreadCrumbs } from '../../../app/khaleesi/navigation/breadcrumb'


jest.mock('../../../app/khaleesi/components/navigation/navigationElement')
jest.mock('../../../app/khaleesi/navigation/navigationElement')
jest.mock('@remix-run/react', () => ({
...jest.requireActual('@remix-run/react'),
useMatches: jest.fn(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { createTestingStub } from '../../util/remixStub'


jest.mock('../../../app/khaleesi/components/icon')
jest.mock('../../../app/khaleesi/components/navigation/navigationElement')
jest.mock('../../../app/khaleesi/navigation/navigationElement')
jest.mock('@remix-run/react', () => ({
...jest.requireActual('@remix-run/react'),
useMatches: jest.fn(),
Expand Down

0 comments on commit 64aa1dc

Please sign in to comment.