Skip to content

Commit

Permalink
Fix breadcrumbs test name spell
Browse files Browse the repository at this point in the history
 (#67)
  • Loading branch information
kimurash committed Dec 16, 2024
1 parent 5fa667d commit a3866b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/test/routes/home._index/route.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ describe('Book List Page', () => {
});
});

describe('BreadCrumbs', () => {
describe('Breadcrumbs', () => {
it('should navigate to home page when clicked', async () => {
const { user } = customRender(
<BookListPageStub initialEntries={['/home']} />,
Expand Down
4 changes: 2 additions & 2 deletions frontend/test/routes/home.books.bookId/route.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type * as remixrunCloudflare from '@remix-run/cloudflare';
import { ActionFunctionArgs, LoaderFunctionArgs } from '@remix-run/cloudflare';
import type * as remixrunReact from '@remix-run/react';
import { createRemixStub } from '@remix-run/testing';
import { screen, waitFor } from '@testing-library/react';
import { customRender } from 'test/helpers/wrapper';
Expand All @@ -13,7 +14,6 @@ import BookDetail, {
loader as rootLoader,
} from '~/routes/home.books.$bookId/route';
import { redirect } from '../../mocks/@remix-run/cloudflare';
import type * as remixrunReact from '@remix-run/react';

vi.mock('@remix-run/cloudflare', async (importOriginal) => {
const actual = await importOriginal<typeof remixrunCloudflare>();
Expand Down Expand Up @@ -165,7 +165,7 @@ describe('Book Detail Page', () => {
// TODO: ログイン状態で借りている人がいる場合
});

describe('BreadCrumbs', () => {
describe('Breadcrumbs', () => {
it('should navigate to home page when clicked', async () => {
const { user } = customRender(
<BookDetailStub initialEntries={['/home/books/1']} />,
Expand Down

0 comments on commit a3866b8

Please sign in to comment.