Skip to content

test(e2e): Add tsx + express e2e test app #16578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Jun 13, 2025

In light of #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.

@Lms24 Lms24 self-assigned this Jun 13, 2025
@Lms24 Lms24 requested review from mydea, a team and AbhiPrasad and removed request for a team June 13, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant