Skip to content

Commit f708bef

Browse files
committed
Allow invoking browser run() without options
1 parent d5806bb commit f708bef

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)