Skip to content

Commit

Permalink
fix: test race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Oct 10, 2024
1 parent 1e9d224 commit 3fca231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
BEFORE-OUT-OF-ORDER <noscript id="afpha"></noscript><!--FLUSH-->BEFORE-AFTER-OUT-OF-ORDER AFTER-OUT-OF-ORDER <div id="afc" style="display:none">NESTED-OUT-OF-ORDER</div><div id="afa" style="display:none">BEFORE-IN-ORDER INSIDE-IN-ORDER<noscript id="afphc"></noscript> AFTER-IN-ORDER</div><script>function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b<f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b<f;b++)c(a[b])}};$af("a");$af("c")</script>
BEFORE-OUT-OF-ORDER <noscript id="afpha"></noscript><!--FLUSH-->BEFORE-AFTER-OUT-OF-ORDER AFTER-OUT-OF-ORDER <div id="afa" style="display:none">BEFORE-IN-ORDER INSIDE-IN-ORDER<noscript id="afphc"></noscript> AFTER-IN-ORDER</div><div id="afc" style="display:none">NESTED-OUT-OF-ORDER</div><script>function $af(d,a,e,l,g,h,k,b,f,c){c=$af;if(a&&!c[a])(c[a+="$"]||(c[a]=[])).push(d);else{e=document;l=e.getElementById("af"+d);g=e.getElementById("afph"+d);h=e.createDocumentFragment();k=l.childNodes;b=0;for(f=k.length;b<f;b++)h.appendChild(k.item(0));g&&g.parentNode.replaceChild(h,g);c[d]=1;if(a=c[d+"$"])for(b=0,f=a.length;b<f;b++)c(a[b])}};$af("a");$af("c")</script>
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ BEFORE-OUT-OF-ORDER
AFTER-IN-ORDER
</>
</>
<await(new Promise(r => setTimeout(r, 40))) name="d">
<await(new Promise(r => setTimeout(r, 60))) name="d">
<@then>BEFORE-AFTER-OUT-OF-ORDER</>
</>
AFTER-OUT-OF-ORDER
Expand Down

0 comments on commit 3fca231

Please sign in to comment.