The issue stemmed from missing data in the test that was required for rendering the footer section in the EJS template. Specifically, the footerSection2 and footerSection3 data were not provided in the mock data for the test. This resulted in forEach loops inside my partials (footer) not rendering correctly during the GET request.