-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve 'consoleerror' handler to include all arguments, Handle remot…
…e HTTP error Based on decycledShallowClone() from QUnit's TapReporter, which was originally implemented by Zachary Mulgrew in qunitjs/js-reporters@c38f467af9. Co-authored-by: Zachary Mulgrew <[email protected]>
- Loading branch information
1 parent
88877a5
commit 1b8801a
Showing
6 changed files
with
134 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<title>console</title> | ||
<script> | ||
console.log('TAP version 13'); | ||
|
||
console.warn('My warning', 1, { arr: [ true, 3 ] }); | ||
console.error('My error', 1, { arr: [ true, 3 ] }); | ||
|
||
function createCyclical () { | ||
var cyclical = { a: 'example' }; | ||
cyclical.cycle = cyclical; | ||
return cyclical; | ||
} | ||
console.warn('Cyclical object', createCyclical()); | ||
|
||
setTimeout(function () { | ||
console.log('ok 1 Foo bar'); | ||
console.log('1..1'); | ||
}, 50); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<meta charset="utf-8"> | ||
<title>QUnit</title> | ||
<link rel="stylesheet" href="../../node_modules//qunit/qunit/qunit.css"> | ||
<body> | ||
<div id="qunit"></div> | ||
<div id="qunit-fixture"></div> | ||
<script src="../../node_modules//qunit/qunit/qunit.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters