Skip to content

Commit

Permalink
Merge pull request #329 from brettz9/allow-no-options
Browse files Browse the repository at this point in the history
Allow invoking browser `run()` without options
  • Loading branch information
mreinstein authored Dec 24, 2016
2 parents d5806bb + f708bef commit efaa4b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/browser/nodeunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -1940,6 +1940,7 @@ exports.info = "Browser-based test reporter";
*/

exports.run = function (modules, options) {
options = options || {};
var start = new Date().getTime();
var textareas = options.textareas;
var displayErrorsByDefault = options.displayErrorsByDefault;
Expand Down

0 comments on commit efaa4b4

Please sign in to comment.