Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Consistently expose uuid with events

  • Loading branch information...
commit 81515e8f386e6b9bf2c8dacb977857ac905c77de 1 parent 1e7c966
@cjohansen cjohansen authored
Showing with 2 additions and 0 deletions.
  1. +1 −0  lib/test-runner.js
  2. +1 −0  test/test-runner-test.js
View
1  lib/test-runner.js
@@ -419,6 +419,7 @@
function emitConfiguration(runner, ctxs) {
runner.emit("suite:configuration", {
+ uuid: runner.runtime && runner.runtime.uuid,
runtime: runner.runtime,
name: runner.configuration,
tests: countTests(ctxs),
View
1  test/test-runner-test.js
@@ -2910,6 +2910,7 @@
runner.runSuite(this.suite);
assert.equals(config.runtime.name, "Firefox");
+ assert.isString(config.uuid);
},
"does not emit suite:configuration with no runtime": function () {
Please sign in to comment.
Something went wrong with that request. Please try again.