diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 76e4f9e..a4613d1 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -12,6 +12,8 @@ jobs: steps: - name: get the code uses: actions/checkout@v6 + - name: install depdendencies + run: npm install - name: run the build run: npm run build - name: run the tests diff --git a/src/App.jsx b/src/App.jsx index b2bf2e8..a0816c8 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -16,7 +16,7 @@ function App() { Vite logo
-

Get started

+

Getting started

Edit src/App.jsx and save to test HMR

diff --git a/src/test/App.test.jsx b/src/test/App.test.jsx index 1adaf24..1368af6 100644 --- a/src/test/App.test.jsx +++ b/src/test/App.test.jsx @@ -4,7 +4,7 @@ import App from '../App' describe('App', () => { it('renders the Get started heading', () => { render() - expect(screen.getByRole('heading', { name: /get started/i })).toBeInTheDocument() + expect(screen.getByRole('heading', { name: /getting started/i })).toBeInTheDocument() }) it('renders the counter button starting at 0', () => {