: undefined}
diff --git a/src/components/navigation/footer/__tests__/Footer.test.tsx b/src/components/navigation/footer/__tests__/Footer.test.tsx
index b7fd8b70..785ecdf0 100644
--- a/src/components/navigation/footer/__tests__/Footer.test.tsx
+++ b/src/components/navigation/footer/__tests__/Footer.test.tsx
@@ -42,6 +42,42 @@ describe('Footer', () => {
);
});
+ it('Renders the copyright within the nhsuk-footer when there is only one column', () => {
+ const { container } = render(
+ ,
+ );
+ expect(container.querySelectorAll('.nhsuk-footer__copyright').length).toBe(1);
+ expect(
+ container.querySelector('.nhsuk-footer')?.querySelector('.nhsuk-footer__copyright'),
+ ).not.toBeNull();
+ });
+
+ it('Renders the copyright outside of the nhsuk-footer when there is more than one column', () => {
+ const { container } = render(
+ ,
+ );
+ expect(container.querySelectorAll('.nhsuk-footer__copyright').length).toBe(1);
+ expect(
+ container.querySelector('.nhsuk-width-container')?.querySelector('.nhsuk-footer__copyright'),
+ ).not.toBeNull();
+ expect(
+ container.querySelector('.nhsuk-footer')?.querySelector('.nhsuk-footer__copyright'),
+ ).toBeNull();
+ });
+
it('Does not include the single column class on ListItem when there is more than one column', () => {
const { container } = render(