mirror of
https://github.com/Mastermindzh/react-starter-kit.git
synced 2025-08-02 15:45:12 +02:00
added cypress
This commit is contained in:
@@ -10,8 +10,15 @@ export const Navbar: FunctionComponent<Props> = () => {
|
||||
<h1>Our fancy header with navigation.</h1>
|
||||
<p>App version: {JSON.stringify(Config.version)}</p>
|
||||
<nav data-testid="nav">
|
||||
<Link to="/">Home</Link> <Link to="/about">About</Link>
|
||||
<Link to="/counter">Counter</Link>
|
||||
<Link to="/" data-testid="nav.home">
|
||||
Home
|
||||
</Link>{" "}
|
||||
<Link to="/about" data-testid="nav.about">
|
||||
About
|
||||
</Link>
|
||||
<Link to="/counter" data-testid="nav.counter">
|
||||
Counter
|
||||
</Link>
|
||||
<hr />
|
||||
</nav>
|
||||
</>
|
||||
|
Reference in New Issue
Block a user