doctrine / doctrine-website

Source code for the doctrine-project.org website and documentation.
https://www.doctrine-project.org
MIT License
31 stars 63 forks source link

Create tests for the scroll to top button #550

Closed SenseException closed 1 year ago

SenseException commented 1 year ago

These tests are covering the scroll back-to-top button that appears at the bottom right on the page when a user scrolls down.

I've also chosen to test this part of the JS implementation to improve the jest configuration to support the globally available jQuery object, which is still widely in use on the website in other scripts that need tests.