jest-test-gen
Version:
Generator of jest unit test with all imports mocked and tests stub for every class and function exported
56 lines (32 loc) • 1.07 kB
Markdown
# Changelog
## v1.4.2
- #15 add support for `export as` syntax
Thanks @yiminghe
## v1.4.2
- #14 fix non arrow function assignement expression parsing Thanks @yiminghe
## v1.4.0
- #6 add an option `--fileSuffix` to specify a custom generated file name suffix Thanks @eliorivero
## v1.3.2
- return test output filename from `run()` function
## v1.3.0
- #2 support for ts and tsx components with prop types parsing
- #5 add an option `--outputDir` to specify a custom output directory relative to the cwd() or absolute path
## v1.1.0
- #3 Support for static methods in classes
- #4 .toBeDefined instead of (or in addition to) .toBeTruthy
- #6 migrate tests from jasmine to Jest, makes a lot of sense for this project
## v1.0.0
- Adds support for parsing React class + functional components to generate snapshot test
## v0.0.6
- more output format tweaks
## v0.0.5
- enhancements to output format
## v0.0.4
- Fixes to output format
- added debug for logging in dev
## v0.0.3
list typescript as dependency
## v0.0.2
Update docs
## v0.0.1
Initial release