jest-test-gen icon indicating copy to clipboard operation
jest-test-gen copied to clipboard

This tool will take a js/ts file as input and generate a jest unit test file next to it with all imports mocked and tests stubs for every class method and function exported.

Results 6 jest-test-gen issues
Sort by recently updated
recently updated
newest added

``` export * as myHelpers from './common/helpers'; ``` the following statement is not correctly parsed and causes an error

bug

would be useful to parse hooks and generate dedicated test bp

enhancement

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...

enhancement

support needs to be added for something like: ```js function generateKey () {} //... // Export export default { generateKey, generateRandomNumber, encrypt, decrypt, encryptPromise, decryptPromise, hash, }; ```

enhancement
good first issue

Simple addition to reading configurations from .env files in your project root. Currently just switches the fileSuffix, but further additions are easily implemented.

when i try to run the generate command for a class component it will generate a test file, but when I open it, it shows some invalid important statement and...