Releases: Hargne/jest-html-reporter
Releases · Hargne/jest-html-reporter
v2.4.1
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
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
v2.2.0
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
v2.0.0
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
v1.2.0
v1.1.0
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