Skip to content

Commit

Permalink
add events
Browse files Browse the repository at this point in the history
  • Loading branch information
chadrackkanza committed Oct 22, 2023
1 parent 3171a62 commit da566c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Test React App
on: workflow_dispatch
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
Expand Down
6 changes: 1 addition & 5 deletions src/App.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,4 @@ test('renders learn react link', () => {
});


test('renders learn react link 2', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).not.toBeInTheDocument();
});

0 comments on commit da566c3

Please sign in to comment.