easy-sauce
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -57,2 +57,5 @@ 'use strict'; | ||
return easySauce(Object.assign(configOpts, cliOpts)) | ||
.on('message', (message) => { | ||
log(chalk.gray(message)); | ||
}) | ||
.on('update', (job) => { | ||
@@ -59,0 +62,0 @@ log(chalk.gray(`${formatPlatform(job.platform)}: ${job.status}`)); |
{ | ||
"name": "easy-sauce", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"description": "Simple JavaScript unit testing on the Sauce Labs cloud", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -144,2 +144,7 @@ # Easy Sauce | ||
<tr valign="top"> | ||
<td><code>message</code></td> | ||
<td><code>message</code> (string) The message text.</td> | ||
<td>Emitted when an event has occurred that may be useful for the user to know (e.g. the public URL of the tests after an ngrok tunnel has been created).</td> | ||
</tr> | ||
<tr valign="top"> | ||
<td><code>update</code></td> | ||
@@ -190,2 +195,6 @@ <td><code>job</code> (Object) The updated JSON job data from Sauce Labs.</td> | ||
}) | ||
.on('message', function(message) { | ||
// A message has been emitted, inform the user. | ||
console.log(message); | ||
}) | ||
.on('update', function(job) { | ||
@@ -192,0 +201,0 @@ // A job's status has been updated |
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
63555
1588
226