test(e2e): Add `tsx` + `express` e2e test app
In light of https://github.com/getsentry/sentry-javascript/issues/16575, this PR adds an e2e test app for running an express app via tsx instead of transpiling it and running it with node directly. I basically just copied the app and tests from our node-express e2e app, so it also contains tests for TRPC and MCP stuff. If reviewers prefer, I can remove the additional stuff but I think it actually makes sense to test a "loaded" express app with additional instrumentation.
Importantly, I had to --import the instrument file because TSX seems to internally transpile to ESM by default.
hmm, local variables seem to not work, at least the test is failing? 🤔
woah completely forgot that this still exists. Re-running the tests for now. If localvariables still don't work, I think this is likely a limitation of tsx and something we can accept for the moment.
Update:
- Updated test since some of the assertions were quite outdated by now
- removed the LocalVariables test since I didn't get any local vars
- Rebased and good for another round of reviews