Skip to content

Commit

Permalink
dist and docs [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Gruber committed Apr 13, 2017
1 parent 1ec5fe2 commit ab3f02d
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 36 deletions.
56 changes: 30 additions & 26 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
#Changelog
# Changelog

###2.0.4
### 2.0.5
- Fix `UnhandledPromiseRejectionWarning` error when calling nonexistant `exit` function
- Limit files included in package

### 2.0.4
- Better handling of different coding styles in test code. [#98](https://github.com/adamgruber/mochawesome/issues/98)
- Separate utility functions from main reporter code for better test coverage
- Bump `mochawesome-report-generator` and `fs-extra` packages

###2.0.3
### 2.0.3
- Fixed [#126](https://github.com/adamgruber/mochawesome/issues/126)
- Fix default options handling
- Add `enableCode` option to be consistent with mochawesome-report-generator options
- Deprecate `enableTestCode` option
- Add `dev` option for testing

###2.0.2
### 2.0.2
- Fixed [#111](https://github.com/adamgruber/mochawesome/issues/111)

###2.0.1
### 2.0.1
- Fixed an issue where `reportFilename` was not propagated to `config` object
- Updated handling of `reportDir` option to allow relative paths
- Bumped mochawesome-report-generator dependency (requires 1.0.3 or higher)

###2.0.0
### 2.0.0
- Moved report generation to mochawesome-report package
- Updated dependencies
- Switched from jshint to eslint
Expand All @@ -34,69 +38,69 @@
**Breaking Changes**
- `reportName` option changed to `reportFilename`

###1.5.4
### 1.5.4
- Run pending tests thru `cleanTest` function. Fixes possible scenario where a pending test with a large amount of text could cause node to run out of memory. See [#94](https://github.com/adamgruber/mochawesome/issues/94)

###1.5.3
### 1.5.3
- Fixed build issues on Windows. See [#84](https://github.com/adamgruber/mochawesome/pull/84)

###1.5.2
### 1.5.2
- Updated mocha peerDependency to allow any version

###1.5.1
### 1.5.1
- Added missing LICENSE.md file

###1.5.0
### 1.5.0
- Moved mocha to peerDependencies and devDependencies and fixed it to `~2`. See [#69](https://github.com/adamgruber/mochawesome/issues/69)

###1.4.0
### 1.4.0
- Added slide-over navigation menu for quickly jumping to a test suite. See [#49](https://github.com/adamgruber/mochawesome/issues/49)

###1.3.5
### 1.3.5
- Removed extra slash in `@font-path` LESS variable. See [#53](https://github.com/adamgruber/mochawesome/issues/53)

###1.3.4
### 1.3.4
- Added option to auto open report. Also fixed an issue with boolean options. See [#44](https://github.com/adamgruber/mochawesome/issues/44)

###1.3.3
### 1.3.3
- Added support for creating custom dir where the parent dir(s) may not exist yet. See [#40](https://github.com/adamgruber/mochawesome/issues/40)

###1.3.2
### 1.3.2
- Removed `allHooks` array since it was not being used and could lead to an issue where node runs out of memory while rendering the template. See [#33](https://github.com/adamgruber/mochawesome/issues/33)

###1.3.1
### 1.3.1
- Update copyright in template

###1.3.0
### 1.3.0
- Changes to support mocha 2.4.0 and later (fixes empty code blocks). See [#29](https://github.com/adamgruber/mochawesome/issues/29)

###1.2.2
### 1.2.2
- Added option to generate report with all assets inlined. See [#26](https://github.com/adamgruber/mochawesome/issues/26)

###1.2.1
### 1.2.1
- Reset `totalTestsRegistered` when reporter is run. [PR #21](https://github.com/adamgruber/mochawesome/pull/21)

###1.2.0
### 1.2.0
- Enhancement: custom report title option. Closes [#11](https://github.com/adamgruber/mochawesome/issues/11)
- Fixed indentation in code block and stack traces

###1.1.2
### 1.1.2
- Fixes [#10](https://github.com/adamgruber/mochawesome/issues/10)

###1.1.1
### 1.1.1
- Add filter icon in summary for better visibility (Completely new idea and not at all in response to [this](https://github.com/adamgruber/mochawesome/issues/5))
- Change util.print to console.log due to [deprecation](https://github.com/joyent/node/blob/master/doc/api/util.markdown#user-content-utilprint)

###1.1.0
### 1.1.0
- Add support for options
- custom report directory
- custom report filename
- Enhancements to console output

###1.0.1 - 1.0.5
### 1.0.1 - 1.0.5
- Bugfixes

###1.0.0
### 1.0.0
- Redesigned report
- Mobile friendly
- Complete refactor of client-side script
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2015-2016 Adam Gruber
Copyright (c) 2015-2017 Adam Gruber

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
16 changes: 8 additions & 8 deletions dist/mochawesome.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,24 +37,24 @@ var done = function () {

case 7:
log('Report HTML saved to ' + reportHtmlFile, null, config);

exit(failures);
_context.next = 15;
_context.next = 13;
break;

case 11:
_context.prev = 11;
case 10:
_context.prev = 10;
_context.t0 = _context['catch'](1);

log(_context.t0, 'error', config);
exit(failures);

case 15:
case 13:
exit && exit(failures);

case 14:
case 'end':
return _context.stop();
}
}
}, _callee, this, [[1, 11]]);
}, _callee, this, [[1, 10]]);
}));

return function done(_x, _x2, _x3, _x4) {
Expand Down
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mochawesome",
"version": "2.0.4",
"version": "2.0.5",
"description": "A Gorgeous HTML/CSS Reporter for Mocha.js",
"scripts": {
"lint": "eslint src test",
Expand All @@ -24,6 +24,13 @@
],
"engine": "node >= 4",
"main": "dist/mochawesome.js",
"files": [
"LICENSE.md",
"README.md",
"CHANGELOG.md",
"addContext.js",
"dist"
],
"nyc": {
"include": [
"src/*.js"
Expand Down

0 comments on commit ab3f02d

Please sign in to comment.