Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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
Loading
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
@mydea
Copy link
Member

mydea commented Jun 16, 2025

hmm, local variables seem to not work, at least the test is failing? 🤔

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.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.