Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
Consistently expose uuid with events
Browse files Browse the repository at this point in the history
  • Loading branch information
cjohansen committed Nov 23, 2013
1 parent 1e7c966 commit 81515e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/test-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
1 change: 1 addition & 0 deletions test/test-runner-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit 81515e8

Please sign in to comment.