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
And it would just run on every file it finds that matches the pattern I specified.
It would be even better if I could say:
jest-test-gen src/**.*.js __tests__
And it would run on every file it finds that matches the pattern I specified and spit the generated tests out into the directory I specified (__tests__ in this case).
The text was updated successfully, but these errors were encountered:
Sounds like a nice improvement to support glob patterns (https://www.npmjs.com/package/glob) for generating multiple test files at a time, might need some time to work on this.
In the meantime you can probably run something like this to generate multiple tests at once: find src/**/*.js -exec jest-test-gen {} \;
It would be nice if I could say:
jest-test-gen src/**.*.js
And it would just run on every file it finds that matches the pattern I specified.
It would be even better if I could say:
jest-test-gen src/**.*.js __tests__
And it would run on every file it finds that matches the pattern I specified and spit the generated tests out into the directory I specified (
__tests__
in this case).The text was updated successfully, but these errors were encountered: