Skip to content

Releases: egm0121/jest-test-gen

Release v1.4.3

13 Jan 19:36
Compare
Choose a tag to compare

v1.4.3

v1.4.2

  • #14 fix non arrow function assignment expression parsing Thanks @yiminghe

v1.4.0

  • #6 add an option --fileSuffix to specify a custom-generated file name suffix Thanks @eliorivero

jest-test-gen v1.3.2

13 Jan 19:35
Compare
Choose a tag to compare

v1.3.2

  • return test output filename from run() function
  • #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

Full Changelog: v1.0.1...v1.3.2

v1.2.0

07 Aug 19:51
Compare
Choose a tag to compare
  • add support for props type parsing in tsx components
  • add --outputDir option

v1.1.1

12 Jul 13:33
Compare
Choose a tag to compare

v1.1.1 migrated to jest + fixes + improvements

Full Changelog: v1.1.0...v1.1.1

v1.0.0

29 May 02:20
Compare
Choose a tag to compare

Added support for React class and functional components 🎉

run jest-test-gen on a file containing a component and get a snapshot test template

To update the cli run: npm install -g jest-test-gen.