Monitoring > Testing, especially in Browser JavaScript, where many edge cases only emerge on slow networks and other browsers.
From my anecdotal experience building SaaS systems, I have gotten a lot better return on investment by building monitoring and alerting than I have by writing unit, integration, and e2e tests. Of course, I use both, but if I *have* to choose between them, I choose monitoring.