diff --git a/packages/ui-test-sandbox/src/utils/sandbox.ts b/packages/ui-test-sandbox/src/utils/sandbox.ts index 5b2352a61f..2335c8db52 100644 --- a/packages/ui-test-sandbox/src/utils/sandbox.ts +++ b/packages/ui-test-sandbox/src/utils/sandbox.ts @@ -27,11 +27,6 @@ import { ReactComponentWrapper } from './reactComponentWrapper' import initConsole from './initConsole' import React from 'react' -// Likely this could be done with /// { if (node && typeof (node as ChildNode).remove === 'function') { - // TODO this code is buggy. It was originally doing nothing, but when - // its executed properly it causes an exception - //(node as ChildNode).remove() + ;(node as ChildNode).remove() } }) this._addedNodes = []