diff --git a/test/helpers.js b/test/helpers.js index 4318d6d364..64b4814e80 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -86,6 +86,7 @@ function cleanChildren ( node ) { previous.data = previous.data.replace( /\s{2,}/, '\n' ); node.removeChild( child ); + child = previous; } }