Skip to content

Commit 67eb4cd

Browse files
author
Sergii Kovalenko
committed
MAGETWO-63321: Issue when deleting item from Product options grid containing more than 20 options
1 parent 07a3994 commit 67eb4cd

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/dynamic-rows/dynamic.rows.test.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ define([
1010
'use strict';
1111

1212
var model,
13+
/**
14+
* @param index
15+
* @returns {Object}
16+
* @constructor
17+
*/
1318
ElementMock = function (index) {
1419
return {
1520
/**
@@ -40,7 +45,7 @@ define([
4045
/**
4146
* Mock function which return length of record data
4247
*
43-
* @returns {{length: number}}
48+
* @returns {Object}
4449
*/
4550
model.recordData = function () {
4651
return {
@@ -55,7 +60,7 @@ define([
5560
/**
5661
* Mock function, which return the number of pages
5762
*
58-
* @returns {number}
63+
* @returns {Number}
5964
*/
6065
model.pages = function () {
6166
return 3;
@@ -79,6 +84,9 @@ define([
7984
}
8085
];
8186

87+
/**
88+
* @returns {Number}
89+
*/
8290
model.pages = function () {
8391
return 3;
8492
};

0 commit comments

Comments
 (0)