Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

tweak

TJ Holowaychuk335a1b0f25b8
diff --git a/test/browser/opts.html b/test/browser/opts.html
index 8a5183b2..87cfdf48 100644
--- a/test/browser/opts.html
+++ b/test/browser/opts.html
@@ -19,7 +19,7 @@
<script src="opts.js"></script>
<script src="../acceptance/globals.js"></script>
<script>
- onload = function() { mocha.run(); };
+ onload = mocha.run;
</script>
</head>
<body>