Skip to content

Commit

Permalink
fixing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ismaelmurekezi committed Jul 1, 2024
1 parent f414625 commit 513cc4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: Setup and coverage badge
on:
push:
branches:
- ft-analytics
- '*'
pull_request:
branches:
- ft-analytics
workflow_dispatch:
- '*'


jobs:
build:
Expand Down Expand Up @@ -40,10 +40,4 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: List coverage directory
run: ls -la coverage

- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 1 addition & 3 deletions src/--test--/Check.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ describe("Test component", () => {
render(<Check />);

const heading = screen.getByText(
/If you want to part of the program click button below/i
/If you want to part of the program click button belows/i
);
expect(heading).toBeTruthy();

const button = screen.getByRole("button", { name: /confirm/i });
expect(button).toBeTruthy();
});
});


0 comments on commit 513cc4c

Please sign in to comment.