Skip to content

Commit efaa4b4

Browse files
authoredDec 24, 2016
Merge pull request #329 from brettz9/allow-no-options
Allow invoking browser `run()` without options
2 parents d5806bb + f708bef commit efaa4b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎examples/browser/nodeunit.js

+1
Original file line numberDiff line numberDiff line change
@@ -1940,6 +1940,7 @@ exports.info = "Browser-based test reporter";
19401940
*/
19411941

19421942
exports.run = function (modules, options) {
1943+
options = options || {};
19431944
var start = new Date().getTime();
19441945
var textareas = options.textareas;
19451946
var displayErrorsByDefault = options.displayErrorsByDefault;

0 commit comments

Comments
 (0)
Please sign in to comment.