Skip to content

Commit 92f9f1b

Browse files
feat(combo): add migration for selectItems, deselectItems, selectedItems()
1 parent c2476bf commit 92f9f1b

File tree

2 files changed

+41
-3
lines changed

2 files changed

+41
-3
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"$schema": "../../common/schema/members-changes.schema.json",
3+
"changes": [
4+
{
5+
"member": "selectItems",
6+
"replaceWith": "select",
7+
"definedIn": [
8+
"IgxComboComponent"
9+
]
10+
},
11+
{
12+
"member": "deselectItems",
13+
"replaceWith": "deselect",
14+
"definedIn": [
15+
"IgxComboComponent"
16+
]
17+
},
18+
{
19+
"member": "selectedItems()",
20+
"replaceWith": "selection",
21+
"definedIn": [
22+
"IgxComboBaseDirective"
23+
]
24+
}
25+
]
26+
}

projects/igniteui-angular/migrations/update-13_0_0/index.spec.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,20 @@ describe(`Update to ${version}`, () => {
6969
).toEqual(expectedContent);
7070
});
7171

72-
/* eslint-disable arrow-parens */
73-
it('Should properly rename columns property to columnsCollection', async () => {
72+
it('should rename IgxComboComponent selectItems to select', () => {
73+
pending('LS must be setup for tests.');
74+
});
75+
76+
it('should rename IgxComboComponent deselectItems to deselect', () => {
77+
pending('LS must be setup for tests.');
78+
});
79+
80+
it('should rename IgxComboComponent selectedItems() to selected', () => {
81+
pending('LS must be setup for tests.');
82+
});
83+
84+
/* eslint-disable arrow-parens */
85+
it('Should properly rename columns property to columnsCollection', async () => {
7486
appTree.create('/testSrc/appPrefix/component/test.component.ts',
7587
`
7688
import { IgxGridComponent } from 'igniteui-angular';
@@ -105,7 +117,7 @@ describe(`Update to ${version}`, () => {
105117
);
106118
});
107119

108-
it('Should properly rename columns property to columnsCollection - treeGrid', async () => {
120+
it('Should properly rename columns property to columnsCollection - treeGrid', async () => {
109121
appTree.create('/testSrc/appPrefix/component/test.component.ts',
110122
`
111123
import { IgxTreeGridComponent } from 'igniteui-angular';

0 commit comments

Comments
 (0)