-
-
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
Global beforeAll / Execute some code only once before ALL test files #4565
Comments
|
We have |
@SimenB is there an example of how |
@thymikee, thanks! Is there a way I can use ES6 imports in the globalSetup script or in scripts it requires? |
Nope, only with babel-register if you fancy |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Do you want to request a feature or report a bug?
feature
What is the current behavior?
Unable to execute some code only once before all test files, e. g. create a database, promisify functions, import
reflect-metadata
, etc.What is the expected behavior?
Able to execute some before all test files.
The text was updated successfully, but these errors were encountered: