@webitel/ui-sdk 2.0.19 → 2.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ describe('Api Filter Schema', () => {
|
|
|
17
17
|
});
|
|
18
18
|
it('calls API getList() method at fetchSelected()', () => {
|
|
19
19
|
const idsList = [1];
|
|
20
|
-
const expectedParams = { size: 1,
|
|
20
|
+
const expectedParams = { size: 1, id: [1] };
|
|
21
21
|
const filter = new ApiFilterSchema({ API: APIMock });
|
|
22
22
|
filter.fetchSelected(idsList);
|
|
23
23
|
expect(APIMock).toHaveBeenCalledWith(expectedParams);
|