Skip to content

Commit

Permalink
chore: text correction
Browse files Browse the repository at this point in the history
  • Loading branch information
ovflowd committed Dec 29, 2024
1 parent 7a2e0a6 commit 1822483
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { render, screen } from '@testing-library/react';

import ActiveLink from '..';

// mock usePathname, but retain all the other imports
jest.mock('@/navigation.mjs', () => ({
...jest.requireActual('@/navigation.mjs'),
usePathname: jest.fn(),
Expand Down
1 change: 0 additions & 1 deletion apps/site/util/__tests__/getLanguageDisplayName.test.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { getLanguageDisplayName } from '@/util/getLanguageDisplayName';

// mock usePathname, but retain all the other imports
jest.mock('@/shiki.config.mjs', () => ({
LANGUAGES: [
{ name: 'javascript', aliases: ['js'], displayName: 'JavaScript' },
Expand Down

0 comments on commit 1822483

Please sign in to comment.