title: how can i test browser back-button behaviour using jest and (react-) testing-library?
body: <p>I'm working on a React app, using Jest and <a href="https://github.com/testing-library/react-testing-library" rel="nofollow noreferrer">Testing Library</a> for my tests. I'd like to test what happens when the user clicks the browser's back button. Is that possible, and if so, how? I know I could use Cypress but I'd prefer to avoid adding that to my project.</p>