Skip to content

Commit

Permalink
Merge pull request #410 from inikulin/master
Browse files Browse the repository at this point in the history
Use less colorful styles for errors. Bump version
  • Loading branch information
kirovboris committed Mar 23, 2016
2 parents 7a199e8 + b38abc3 commit 182fee7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "testcafe",
"version": "0.0.14",
"version": "0.0.15",
"main": "lib/index",
"bin": {
"testcafe": "./bin/testcafe"
Expand Down
2 changes: 1 addition & 1 deletion src/legacy/test-run-error/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function getDiffHeader (err) {

function getScreenshotInfoStr (err) {
if (err.screenshotPath)
return `<div class="screenshot-info">Screenshot: <a class="screenshot-path">${escapeHtml(err.screenshotPath)}</a></div>`;
return `<div class="screenshot-info"><strong>Screenshot:</strong> <a class="screenshot-path">${escapeHtml(err.screenshotPath)}</a></div>`;

return '';
}
Expand Down
2 changes: 1 addition & 1 deletion src/reporter/plugin-host.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default class ReporterPluginHost {
'div stack-line-name': str => ` at ${this.chalk.bold(str)}`,
'div stack-line-location': str => ` (${this.chalk.grey.underline(str)})`,

'strong': str => this.chalk.cyan(str),
'strong': str => this.chalk.bold(str),
'a': str => `"${this.chalk.underline(str)}"`
};
}
Expand Down

0 comments on commit 182fee7

Please sign in to comment.