Skip to content

Commit 5720fc5

Browse files
committed
fix test case in browser
1 parent d0de3d2 commit 5720fc5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/test.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
77
<script src="../node_modules/mocha/mocha.js"></script>
88
<script src="../node_modules/expect.js/expect.js"></script>
9-
<script src="../node_modules/debug/debug.js"></script>
109

1110
<!--AV Test init-->
1211

@@ -19,7 +18,9 @@
1918
function assert(expr, msg) {
2019
if (!expr) throw new Error(msg || 'failed');
2120
}
22-
var debug = console.log;
21+
function debug() {
22+
console.log(arguments);
23+
}
2324
</script>
2425
<script src="file.js"></script>
2526
<script src="error.js"></script>

0 commit comments

Comments
 (0)