Permalink
Browse files

Consistently expose uuid with events

  • Loading branch information...
1 parent 1e7c966 commit 81515e8f386e6b9bf2c8dacb977857ac905c77de @cjohansen cjohansen committed Nov 23, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 lib/test-runner.js
  2. +1 −0 test/test-runner-test.js
View
@@ -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
@@ -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 () {

0 comments on commit 81515e8

Please sign in to comment.