@@ -138,7 +138,7 @@ describe("<OverflowList>", function (this) {
138
138
it ( "invoked once per resize" , async ( ) => {
139
139
// initial render shows all items (empty overflow)
140
140
await overflowList ( 200 ) . waitForResize ( ) ;
141
- // assert that at given width, onOverflow receives given Ds
141
+ // assert that at given width, onOverflow receives given IDs
142
142
const tests = [
143
143
{ width : 15 , overflowIds : [ 0 , 1 , 2 , 3 , 4 ] } ,
144
144
{ width : 55 , overflowIds : [ 0 ] } ,
@@ -216,7 +216,7 @@ describe("<OverflowList>", function (this) {
216
216
return wrapper ;
217
217
} ;
218
218
219
- /** Asserts that the last call to `onOverflow` received the given item Ds . */
219
+ /** Asserts that the last call to `onOverflow` received the given item IDs . */
220
220
wrapper . assertLastOnOverflowArgs = ( ids : number [ ] ) => {
221
221
assert . sameMembers (
222
222
onOverflowSpy . lastCall . args [ 0 ] . map ( ( i : TestItemProps ) => i . id ) ,
@@ -227,7 +227,7 @@ describe("<OverflowList>", function (this) {
227
227
228
228
/**
229
229
* Invokes both assertions below with the expected visible and
230
- * overflow Dsassuming `collapseFrom="start"`.
230
+ * overflow IDs assuming `collapseFrom="start"`.
231
231
*/
232
232
wrapper . assertVisibleItemSplit = ( visibleCount : number ) => {
233
233
const ids = ( props . items ?? ITEMS ) . map ( it => it . id ) ;
@@ -236,7 +236,7 @@ describe("<OverflowList>", function (this) {
236
236
. assertVisibleItems ( ...ids . slice ( - visibleCount ) ) ;
237
237
} ;
238
238
239
- /** Assert ordered Dsof overflow items. */
239
+ /** Assert ordered IDs of overflow items. */
240
240
wrapper . assertOverflowItems = ( ...ids : number [ ] ) => {
241
241
const overflowItems = wrapper . find ( TestOverflow ) . prop ( "items" ) ;
242
242
assert . sameMembers (
@@ -247,7 +247,7 @@ describe("<OverflowList>", function (this) {
247
247
return wrapper ;
248
248
} ;
249
249
250
- /** Assert ordered Dsof visible items. */
250
+ /** Assert ordered IDs of visible items. */
251
251
wrapper . assertVisibleItems = ( ...ids : number [ ] ) => {
252
252
const visibleItems = wrapper . find ( TestItem ) . map ( div => div . prop ( "id" ) ) ;
253
253
assert . sameMembers ( visibleItems , ids , "visible items" ) ;
0 commit comments