Skip to content

Commit

Permalink
Properly remove test nodes when cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
gdotdesign committed Oct 29, 2024
1 parent bb10e1c commit b4d4197
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/source/Test/Html.mint
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module Test.Html {
document.body.appendChild(root)
#{%testRender%}(#{node}, root)
return new #{%testContext%}(root, () => {
#{%testRender%}(null, root)
document.body.removeChild(root)
})
})()
Expand Down

0 comments on commit b4d4197

Please sign in to comment.