-
Notifications
You must be signed in to change notification settings - Fork 781
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTML Reporter: Fix broken "Rerun without a depth limit" link (really)
Showing
4 changed files
with
121 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>qunit-config-maxDepth</title> | ||
<link rel="stylesheet" href="../src/core/qunit.css"> | ||
</head> | ||
<body> | ||
<div id="qunit"></div> | ||
<script src="../qunit/qunit.js"></script> | ||
<script> | ||
QUnit.test('example', function (assert) { | ||
// Assume default of QUnit.config.maxDepth of 5. | ||
assert.deepEqual( | ||
{ | ||
one: { | ||
two: { | ||
three: { | ||
four: { | ||
five: { | ||
six: true | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
one: { | ||
two: { | ||
three: { | ||
four: { | ||
five: { | ||
six: false | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
); | ||
}); | ||
</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
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