/components/$1',
}
```
@@ -249,23 +246,21 @@ import Link from 'next/link'
export default function Home() {
return (
-
+
)
}
```
```jsx
// pages/about.js
-import Link from 'next/link'
-
export default function About() {
return (
-
About page
+ About Page
)
}
@@ -288,7 +283,7 @@ describe('Navigation', () => {
cy.url().should('include', '/about')
// The new page should contain an h1 with "About page"
- cy.get('h1').contains('About page')
+ cy.get('h1').contains('About Page')
})
})
```