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

Full support for testEnvironment #418

Closed
ssbarbee opened this issue Jan 20, 2018 · 1 comment
Closed

Full support for testEnvironment #418

ssbarbee opened this issue Jan 20, 2018 · 1 comment

Comments

@ssbarbee
Copy link

Since jest 22 we can specifiy a class providing setup and teardown methods for setting up the environment using the flag testEnvironment . Are there any plans for supporting this flag fully? Current behaviour is that it throws unexpected token when providing .ts files.

@kulshekhar
Copy link
Owner

This seems similar to #411

Jest will have to use the transformer to invoke those files. There's not much a transformer can do here on its own.

I'm closing this but if my understanding is incorrect, it can be reopened and re-looked at

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

No branches or pull requests

2 participants