Skip to content

Commit

Permalink
2.3.1 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgruber committed Oct 23, 2017
1 parent 5c01735 commit ab4ab1e
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

### [2.3.1] / 2017-10-23
- Fix botched release

## [2.3.0] / 2017-10-23
- Add support for base64 images in test context [#60](https://github.com/adamgruber/mochawesome-report-generator/pull/60 - @gidztech

Expand Down Expand Up @@ -92,6 +95,7 @@ You can still use the `--reportFilename` flag to set the filename of the generat
## [1.0.0] / 2016-12-18
- Initial release

[2.3.1]: https://github.com/adamgruber/mochawesome-report-generator/releases/tag/2.3.1
[2.3.0]: https://github.com/adamgruber/mochawesome-report-generator/releases/tag/2.3.0
[2.2.2]: https://github.com/adamgruber/mochawesome-report-generator/releases/tag/2.2.2
[2.2.1]: https://github.com/adamgruber/mochawesome-report-generator/releases/tag/2.2.1
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"name": "mochawesome-report-generator",
"version": "2.3.0",
"version": "2.3.1",
"description": "Generates gorgeous HTML reports from mochawesome reporter.",
"scripts": {
"lint": "eslint bin/src lib/src src/js src test --ext js,jsx",
"stylelint": "stylelint src/**/*.css src/components/**/*.css",
"pretest": "npm run lint",
"test": "cross-env UV_THREADPOOL_SIZE=100 BABEL_DISABLE_CACHE=1 NODE_ENV=test nyc mocha --require test/helper.js \"test/spec/**/*.test.+\\(js\\|jsx\\)\"",
"test:single": "cross-env UV_THREADPOOL_SIZE=100 BABEL_DISABLE_CACHE=1 NODE_ENV=test nyc mocha --require test/helper.js ",
"compile:main": "babel ./lib/src -d lib/",
"compile:cli": "babel ./bin/src -d bin/",
"compile": "npm run compile:main && npm run compile:cli",
"build": "rm -rf dist/assets && NODE_ENV=production npm run pack",
"dist": "npm run build && npm run compile",
"pack": "npm run pack:external && npm run pack:inline",
"build": "rm -rf dist/assets && NODE_ENV=production npm run webpack",
"prepack": "npm run build && npm run compile",
"webpack": "npm run pack:external && npm run pack:inline",
"pack:external": "webpack --config ./webpack/external.config.js",
"pack:inline": "webpack --config ./webpack/inline.config.js",
"devserver": "webpack-dev-server --config ./webpack/dev.config.js --inline --watch --hot",
Expand Down
2 changes: 1 addition & 1 deletion src/components/dropdown/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Dropdown extends Component {
const toggleFn = () => this.toggleListDisplay();

return (
<div ref={ node => (this.node = node) } className={ compClass } >
<div ref={ node => { this.node = node; } } className={ compClass } >
<button className={ toggleClass } onClick={ toggleFn } >
{ !iconOnly && this._getItemText(displayItem) }
{ !!toggleIcon && toggleIcon }
Expand Down
2 changes: 1 addition & 1 deletion src/components/report.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class MochawesomeReport extends Component {
stats={ stats }
qsWidth={ quickSummaryWidth }
mobileBreakpoint={ mobileBreakpoint }
qsNodeRef={ node => (this.qsNode = node) } />
qsNodeRef={ node => { this.qsNode = node; } } />
<div id='details' className={ cx('details', 'container') }>
{ suites.map(suite => (
<Suite
Expand Down
2 changes: 1 addition & 1 deletion src/components/suite/chart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class SuiteChart extends Component {
return (
<div className={ cx('chart-wrap') }>
<canvas
ref={ node => (this.node = node) }
ref={ node => { this.node = node; } }
width='50'
height='50' />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/test/code-snippet.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class CodeSnippet extends Component {
};

return !!code && (
<pre className={ cxName } ref={ node => (this.node = node) }>
<pre className={ cxName } ref={ node => { this.node = node; } }>
<code>
{ isDiff && renderLegendLeft() }
{ isDiff && renderLegendRight() }
Expand Down
1 change: 1 addition & 0 deletions test/spec/components/test/context.test.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable max-len */
import React from 'react';
import { shallow } from 'enzyme';
import chai, { expect } from 'chai';
Expand Down

0 comments on commit ab4ab1e

Please sign in to comment.