@stylable/e2e-test-kit
Advanced tools
Comparing version 3.1.4 to 3.2.0
@@ -61,4 +61,4 @@ "use strict"; | ||
this.stats = await promisedRun(); | ||
if (this.throwOnBuildError && this.stats.compilation.errors.length) { | ||
throw new Error(this.stats.compilation.errors.join('\n')); | ||
if (this.throwOnBuildError && this.stats.hasErrors()) { | ||
throw new Error(this.stats.toString({ colors: true })); | ||
} | ||
@@ -65,0 +65,0 @@ } |
{ | ||
"name": "@stylable/e2e-test-kit", | ||
"version": "3.1.4", | ||
"version": "3.2.0", | ||
"description": "A collection of tools to help test Stylable components and applications from end-to-end", | ||
@@ -13,3 +13,3 @@ "main": "cjs/index.js", | ||
"dependencies": { | ||
"@stylable/runtime": "^3.1.4", | ||
"@stylable/runtime": "^3.2.0", | ||
"express": "^4.17.1", | ||
@@ -19,4 +19,4 @@ "memory-fs": "^0.5.0", | ||
"puppeteer": "^2.1.1", | ||
"rimraf": "^3.0.1", | ||
"webpack": "^4.41.5" | ||
"rimraf": "^3.0.2", | ||
"webpack": "^4.41.6" | ||
}, | ||
@@ -36,3 +36,3 @@ "files": [ | ||
"license": "BSD-3-Clause", | ||
"gitHead": "dab58105b696a13da7bf6db1a93b17f59a0b9d95" | ||
"gitHead": "fc7eef9837dab10f9041f8ffaeb1073167ee43ef" | ||
} |
@@ -94,4 +94,4 @@ import { spawn } from 'child_process'; | ||
this.stats = await promisedRun(); | ||
if (this.throwOnBuildError && this.stats.compilation.errors.length) { | ||
throw new Error(this.stats.compilation.errors.join('\n')); | ||
if (this.throwOnBuildError && this.stats.hasErrors()) { | ||
throw new Error(this.stats.toString({ colors: true })); | ||
} | ||
@@ -98,0 +98,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51848
Updated@stylable/runtime@^3.2.0
Updatedrimraf@^3.0.2
Updatedwebpack@^4.41.6