Skip to content

Commit 7e2edb0

Browse files
committed
Updating copyright year
1 parent 400bc66 commit 7e2edb0

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

frontend/src/App.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,20 +112,20 @@ describe('Footer Component', () => {
112112
await act(async () => {
113113
render(<Footer />);
114114
});
115-
expect(screen.getByText(/© 2025 by Conor Heffron/)).toBeInTheDocument();
115+
expect(screen.getByText(/© 2026 by Conor Heffron/)).toBeInTheDocument();
116116
});
117117

118118
test('initial state is set correctly', () => {
119119
global.fetch = jest.fn(() => new Promise(() => {}));
120120
const { container } = render(<Footer />);
121121
const footerText = container.querySelector('.ft');
122-
expect(footerText).toHaveTextContent(2025 by Conor Heffron |');
122+
expect(footerText).toHaveTextContent(2026 by Conor Heffron |');
123123
});
124124

125125
test('fetches and displays the version', async () => {
126126
render(<Footer />);
127127
await waitFor(() => expect(fetch).toHaveBeenCalledTimes(1));
128-
await waitFor(() => expect(screen.getByText(2025 by Conor Heffron |')).toBeInTheDocument());
128+
await waitFor(() => expect(screen.getByText(2026 by Conor Heffron |')).toBeInTheDocument());
129129
await waitFor(() => expect(screen.getByText('2.2.0')).toBeInTheDocument());
130130
});
131131

@@ -136,7 +136,7 @@ describe('Footer Component', () => {
136136

137137
render(<Footer />);
138138
await waitFor(() => expect(fetch).toHaveBeenCalledTimes(1));
139-
await waitFor(() => expect(screen.getByText(2025 by Conor Heffron |')).toBeInTheDocument());
139+
await waitFor(() => expect(screen.getByText(2026 by Conor Heffron |')).toBeInTheDocument());
140140
});
141141

142142
test('handles non-ok fetch responses', async () => {

frontend/src/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class Footer extends Component {
3030
<div className="App">
3131
<Container>
3232
<footer><p className="ft">
33-
© 2025 by Conor Heffron | <a href="https://github.com/conorheffron/ironoc"
33+
© 2026 by Conor Heffron | <a href="https://github.com/conorheffron/ironoc"
3434
target="_blank" rel="noreferrer">{version}</a></p></footer>
3535
</Container>
3636
</div>

0 commit comments

Comments
 (0)