Skip to content

Commit 5961888

Browse files
committed
rm empty describe group
1 parent 4fc2cfd commit 5961888

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

packages/react-dom/src/client/__tests__/trustedTypes-test.internal.js

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -206,33 +206,6 @@ describe('when Trusted Types are available in global object', () => {
206206
}
207207
});
208208

209-
describe('dangerouslySetInnerHTML in svg elements in Internet Explorer', () => {
210-
let innerHTMLDescriptor;
211-
212-
// simulate svg elements in Internet Explorer which don't have 'innerHTML' property
213-
beforeEach(() => {
214-
innerHTMLDescriptor = Object.getOwnPropertyDescriptor(
215-
Element.prototype,
216-
'innerHTML',
217-
);
218-
delete Element.prototype.innerHTML;
219-
Object.defineProperty(
220-
HTMLDivElement.prototype,
221-
'innerHTML',
222-
innerHTMLDescriptor,
223-
);
224-
});
225-
226-
afterEach(() => {
227-
delete HTMLDivElement.prototype.innerHTML;
228-
Object.defineProperty(
229-
Element.prototype,
230-
'innerHTML',
231-
innerHTMLDescriptor,
232-
);
233-
});
234-
});
235-
236209
it('should warn once when rendering script tag in jsx on client', async () => {
237210
const root = ReactDOMClient.createRoot(container);
238211
await expect(async () => {

0 commit comments

Comments
 (0)