Skip to content

Commit

Permalink
confirm react-jest.yaml is activate to run
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
RyosukeDTomita committed Jun 17, 2024
1 parent c5fc472 commit 0c55f55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/react-jest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
paths:
- "src/**.tsx"
- "src/**.ts"
- "public/**.html"

defaults:
run:
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/App.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from "react";
import { render, screen } from "@testing-library/react";
import App from "../App";

// 画面にLearn Reactの文字が出るかテスト
test("renders learn react link", () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
Expand Down

0 comments on commit 0c55f55

Please sign in to comment.