Skip to content

Commit 5ca4353

Browse files
committed
ACP2E-4147: Added test coverage for c233307 and 840fe76
1 parent 588eac3 commit 5ca4353

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/**
2+
* Copyright 2025 Adobe
3+
* All Rights Reserved.
4+
*/
5+
6+
/* eslint-disable max-nested-callbacks */
7+
define(['prototype'], () => {
8+
'use strict';
9+
10+
describe('prototype', () => {
11+
describe('Array.from', () => {
12+
it('should be native code', () => {
13+
expect(Array.from.toString()).toContain('[native code]');
14+
});
15+
});
16+
describe('Element.remove', () => {
17+
it('should not throw exception when element does not have parent node', () => {
18+
let element = $(document.createElement('div'));
19+
20+
expect(() => {
21+
element.remove();
22+
}).not.toThrow();
23+
});
24+
});
25+
});
26+
});

0 commit comments

Comments
 (0)