Simplify a line of code

parent d0efb080
...@@ -18,7 +18,7 @@ describe('settings', function () { ...@@ -18,7 +18,7 @@ describe('settings', function () {
afterEach('remove js-hypothesis-config tags', function() { afterEach('remove js-hypothesis-config tags', function() {
var elements = document.querySelectorAll('.js-settings-test'); var elements = document.querySelectorAll('.js-settings-test');
for (var i=0; i < elements.length; i++) { for (var i=0; i < elements.length; i++) {
elements[i].parentNode.removeChild(elements[i]); elements[i].remove();
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment