-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Support transforming all modules which can be specified in config #8810
Comments
Some of the modules in the list might require #8808 to be merged |
@M4rk9696 You've bet me to it XD I'm happy to tackle all of them, as I can sit down and knock them all out one after each other, but obviously won't steal any from you :P
I apparently forgot the whole "make transformer sync" PR, so ignore my async comments 😬 I've done some more checking, and the changes need to happen here:
But uses
(I'll find the other spots once I'm at work in an hour or so) |
On a side note; is I've not explored enough to compare the two, but they've got more types - Just wondering if you've consumed that at some point. *: At some point they will for sure, so I mean right now |
Also here's another spanner in the works: Maybe it's worth making a global I'm just thinking of the fact that That's required for at least two options to support transforming |
Why? It just resolves a file path, it doesn't actually
Same as above that's just resolving a path, not actually doing
Everywhere we do
No, we don't want to share state |
Noted - I'll make to put in a PR to
Line 91:
Cool, just wanting to make sure I'm not overlooking anything, or that people will be surprised if suddenly a bunch of parameters change :)
Agreed |
Ah, the resolver itself. That might not be easy regardless of having access to |
Working on async runTests(
tests: Array<Test>,
watcher: TestWatcher,
onStart: OnTestStart,
onResult: OnTestSuccess,
onFailure: OnTestFailure,
options: TestRunnerOptions,
): Promise<void> I'm planning on importing with a different alias and exporting it within the I'll raise the types as a separate PR |
I've added |
@jeysal (or someone who can edit the issue): could you add Please & thank you :) |
A possible workaround, point to a JS file that register transpiler and require the source file
|
Thanks, going through all the conversation to revisit the context. I'm starting to look at the code for Should I wait for existing ones to be merged before landing new ones to reduce the effort of resolving merge conflicts? |
@Mark1626 yeah, probably. I'll try to find the time to rebase and land the open ones tomorrow. If you have time to rebase them that'd be a great help 👍 |
@SimenB Rebased all the three open PRs |
This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 14 days. |
I believe I still saw some files the other day which don't get transformed but I don't recall which. |
|
Does anyone have a workaround for a custom reporter? cc/ @Xotabu4 |
It should be enough to use |
I need this feature and was willing to take a stab at it, but it's not clear to me how I can access |
🚀 Feature Proposal
Currently transform only converts tests files and some of the configurable modules, allows all modules which can be configured to be transformed
Based on a discussion in #8330 from @SimenB @G-Rath
List pointed out be @G-Rath
Modules which are transformed:
Modules which not transformed:
Motivation
Approach will be similar to #8751
Reference #8756
Example
The text was updated successfully, but these errors were encountered: