From b38abc350c040cc10c0ebcda253c29d5ab384b36 Mon Sep 17 00:00:00 2001 From: inikulin Date: Wed, 23 Mar 2016 16:40:57 +0300 Subject: [PATCH] Use less colorful styles for errors. Bump version --- package.json | 2 +- src/legacy/test-run-error/templates.js | 2 +- src/reporter/plugin-host.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f5345668936..b79f33c9f84 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "testcafe", - "version": "0.0.14", + "version": "0.0.15", "main": "lib/index", "bin": { "testcafe": "./bin/testcafe" diff --git a/src/legacy/test-run-error/templates.js b/src/legacy/test-run-error/templates.js index afd6bb0bd2e..677fbee2c1b 100644 --- a/src/legacy/test-run-error/templates.js +++ b/src/legacy/test-run-error/templates.js @@ -36,7 +36,7 @@ function getDiffHeader (err) { function getScreenshotInfoStr (err) { if (err.screenshotPath) - return `
Screenshot: ${escapeHtml(err.screenshotPath)}
`; + return `
Screenshot: ${escapeHtml(err.screenshotPath)}
`; return ''; } diff --git a/src/reporter/plugin-host.js b/src/reporter/plugin-host.js index ae2ebd63ff4..4849ba20b3b 100644 --- a/src/reporter/plugin-host.js +++ b/src/reporter/plugin-host.js @@ -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)}"` }; }