Skip to content

Commit

Permalink
fix qunit hack stats reference clearing
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Sep 24, 2021
1 parent 98d8299 commit 25aa44d
Show file tree
Hide file tree
Showing 3 changed files with 644 additions and 316 deletions.
4 changes: 3 additions & 1 deletion scripts/hack-qunit.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ let newQUnit = qunitJS.toString().replace(
config.modules.length = 0;
config.autostart = false;
Object.assign(config.stats, { total: 0, passed: 0, failed: 0, skipped: 0, todo: 0 });
[
"stats", "started", "updateRate", "filter", "depth", "current",
"started", "updateRate", "filter", "depth", "current",
"pageLoaded", "timeoutHandler", "timeout", "pollution"
].forEach( ( key ) => delete config[ key ] );
Expand Down
5 changes: 4 additions & 1 deletion vendor/qunit.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* QUnit 2.16.0
* QUnit 2.17.2
* https://qunitjs.com/
*
* Copyright OpenJS Foundation and other contributors
Expand Down Expand Up @@ -450,6 +450,9 @@

border-bottom: 1px solid #FFF;
}
#qunit-testresult a {
color: #2F68DA;
}
#qunit-testresult .clearfix {
height: 0;
clear: both;
Expand Down
Loading

0 comments on commit 25aa44d

Please sign in to comment.