You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run jest programmatically, similar to jsunit, mocha, jasmine, etc. JS APIs.
Motivation
I want to integrate Jest with a build tools/test runner (Bazel). That manages compilation, parallelism, workers, file watching, aggregating test reports, etc. (no knock on Jest, but JS is not the only language that needs these, and a consistent tool is nice).
That leaves me needing way to (1) run Jest tests for a file and collect the results, and (2) a way to update snapshots.
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.
🚀 Feature Proposal
Run jest programmatically, similar to jsunit, mocha, jasmine, etc. JS APIs.
Motivation
I want to integrate Jest with a build tools/test runner (Bazel). That manages compilation, parallelism, workers, file watching, aggregating test reports, etc. (no knock on Jest, but JS is not the only language that needs these, and a consistent tool is nice).
That leaves me needing way to (1) run Jest tests for a file and collect the results, and (2) a way to update snapshots.
Example
Pitch
Prior work: #7696
There's no documentation, but as far as I can tell, the API is still very much reading config files from disk.
The text was updated successfully, but these errors were encountered: