Skip to content

Commit

Permalink
first if
Browse files Browse the repository at this point in the history
  • Loading branch information
mattshaner committed Feb 25, 2025
1 parent 20ab7ab commit 6cd2bb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/execution-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,11 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Test code
id: run-tests
run: npm run test
- name: Upload test report
uses: actions/upload-artifact@v3
if: steps.run-tests.outcome == 'failure'
uses: actions/upload-artifact@v4
with:
name: test-report
path: test.json
Expand Down
2 changes: 1 addition & 1 deletion src/components/MainContent.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ describe('MainContent', () => {

const button = screen.getByRole('button');
await userEvent.click(button);
expect(screen.getByTestId('help-area')).toBeInTheDocument();
expect(screen.getByTestId('help-are')).toBeInTheDocument();
});
});

0 comments on commit 6cd2bb4

Please sign in to comment.