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

Support async jest.config.js #10333

Closed
yomancool opened this issue Jul 28, 2020 · 3 comments
Closed

Support async jest.config.js #10333

yomancool opened this issue Jul 28, 2020 · 3 comments

Comments

@yomancool
Copy link

🚀 Feature Proposal

Support async jest.config.js

Motivation

When defining jest.config.js, we may have a use case of calling async function to return the object.

Example

module.exports = async () => {
  return await getJestConfig();
};
@SimenB
Copy link
Member

SimenB commented Jul 28, 2020

This should already be supported since Jest 26.1, via #10001. Doesn't it work for you?

@yomancool
Copy link
Author

Thank you for you reply, I'm on v25.1 so that's why it doesn't work for me.

@github-actions
Copy link

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.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants