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

Jest support node api functions #4532

Open
Brianzchen opened this issue Oct 11, 2023 · 0 comments
Open

Jest support node api functions #4532

Brianzchen opened this issue Oct 11, 2023 · 0 comments
Labels
bug libdef Related to a library definition

Comments

@Brianzchen
Copy link
Member

Library definition file name

jest_29.x.x

Your dependent version

29.6.2

Flow Version

0.217.2

Description

Jest supports a node api where I can import jest and call upon it's functionality instead of using CLI which is useful when I'm actually wrapping jests functionality ontop of another tool.

Though it's not officially supported and not documented, it fully works and you can see discussions on this jestjs/jest#5048.

I've added in my own projects these definitions at least enough to be usable copying type defs from jest itself but I'd like to submit them.

Do you want to submit a pull request to fix this issue?

Yes

@Brianzchen Brianzchen added bug libdef Related to a library definition labels Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug libdef Related to a library definition
Projects
None yet
Development

No branches or pull requests

1 participant