We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7fc5725 + 5ca4353 commit 661a327Copy full SHA for 661a327
dev/tests/js/jasmine/tests/lib/web/prototype/prototype.test.js
@@ -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