Skip to content
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

Load unit tests more consistently (pulled from ESM branch) #58481

Merged
merged 3 commits into from
May 9, 2024

Conversation

jakebailey
Copy link
Member

Back when I did the module transform, I did a weird hack to get test loading to work bundled and unbundled.

Now, having actually spent more time understanding what's going on here, I think this PR is a better way to do the right thing. We just want to do some custom setup, then pull in the tests, then start running them.

Pulled out of #58419.

@typescript-bot typescript-bot added Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug labels May 9, 2024
src/testRunner/parallel/worker.ts Outdated Show resolved Hide resolved
@jakebailey jakebailey merged commit 81e9929 into microsoft:main May 9, 2024
28 checks passed
@jakebailey jakebailey deleted the unittest-loading branch May 9, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Uncommitted Bug PR for untriaged, rejected, closed or missing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants