Skip to content

Releases: Hargne/jest-html-reporter

v2.4.1

26 Jun 08:44
Compare
Choose a tag to compare

New Features

  • Fix for customScript script tag not being rendered correctly (thanks to Elliot Boney)
  • Updated a faulty instruction in the README on how to configure the plugin

v2.4.0

18 Jun 21:40
Compare
Choose a tag to compare

New Features:

  • Added the option to config the plugin in the reporters-declaration within the Jest config file.
  • The plugin now automatically handles if it was invoked as a custom reporter or test result processor - so no more need to define execution mode inside the config.
  • Deprecated the executionMode configuration option.
  • Updated README (because of... reasons?)

v2.3.0

17 Apr 18:39
6205805
Compare
Choose a tag to compare

New Features:

  • Added a new configuration option: includeConsoleLog that enables printing any logs fired during a test suite.
  • Updated documentation (because... why not?)

v2.2.0

27 Mar 13:24
Compare
Choose a tag to compare

New Features:

  • Added new sorting methods to sort the test results:
    titleAsc, titleDesc, executionAsc, executionDesc
  • Added a new configuration option: customScriptPath that enables injecting of a javascript file into the test report HTML for further customization.
  • Updated documentation (of course!)

v2.1.0

27 Mar 08:30
Compare
Choose a tag to compare

Bug Fixes:

  • Fixed issue with missing reports when Jest was run with --forceExit - thanks to joey-he8x

v2.0.0

20 Feb 18:17
3fc99eb
Compare
Choose a tag to compare

The major change in v2.0.0 is the restructuring of the code and its methods. The aim has been to make it easier to extend and easier understood.
An option to run the plugin via Jest's reporters option has also been added as an alternative usage method. This should handle the cases where Jest is run with --forceExit and unexpectedly no report is generated. It will also open up for further improvements of the plugin in the future. Thanks to joey-he8x for proposing this idea.

New Features:

  • Added the possibility to run the plugin via Jest's reporters option.
  • Added a executionMode option to enable running as a custom reporter
  • Added a logo configuration option
  • Added a header tag in test report output
  • Better display of failure messages (including snapshot diffs) - thanks to tkrugg
  • Updated documentation

Bug Fixes:

  • Handling of issue where no report is generated when running Jest together with --forceExit
  • Improved test cases
  • Environment variables now take precedence over JSON configurations

v1.2.1

18 Feb 10:29
Compare
Choose a tag to compare

New Features:

  • Failure messages are now presented in pre-tags (instead of p-tags) for easier reading (thanks to tkrugg)

v1.2.0

08 Feb 10:17
c6ac142
Compare
Choose a tag to compare

New Features:

  • Added a sort configuration option to sort test results (thanks to MattGiesa)

v1.1.0

02 Feb 15:17
Compare
Choose a tag to compare

New Features:

  • Added a dateFormat configuration option (added dependency to dateformat v3.0.2)
  • Added a theme configuration option
  • Added two new themes: lightTheme & darkTheme
  • Added a metaDataContainer div available for styling
  • Added TravisCI build

Bug Fixes:

  • Fixed incorrect class name for report executionTime if no warning is present

v1.0.1

02 Feb 11:37
Compare
Choose a tag to compare

Bug Fixes:

  • Fixed a breaking issue where the style-folder was not part of the NPM package.