Skip to content

Commit

Permalink
Enhancement: Remove Hacktober from Nav (DDDEastMidlandsLimited#575)
Browse files Browse the repository at this point in the history
* Enhancement: Remove Hacktober from Nav

* Run prettier
  • Loading branch information
wordshaker authored Oct 30, 2021
1 parent 5704a6d commit 37a9f20
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
6 changes: 0 additions & 6 deletions components/Navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,6 @@ export default function Navigation() {
</Nav.Link>
</Nav.Item>

<Nav.Item>
<Nav.Link tabIndex="0" href="/2021/hacktober">
Hacktober
</Nav.Link>
</Nav.Item>

<Nav.Item>
<Nav.Link
tabIndex="0"
Expand Down
9 changes: 0 additions & 9 deletions components/Navigation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,6 @@ describe('Given the Navigation is rendered', () => {
);
});

test('it should display a Hacktober link', () => {
const { getByText } = render(<Navigation />);
expect(getByText('Hacktober')).toBeInTheDocument();
expect(getByText('Hacktober')).toHaveAttribute(
'href',
'/2021/hacktober',
);
});

test('it should display a Blog link', () => {
const { getByText } = render(<Navigation />);
expect(getByText('Blog')).toBeInTheDocument();
Expand Down

0 comments on commit 37a9f20

Please sign in to comment.