@@ -28,7 +28,7 @@ describe('QueryASTBuilder - Window Functions', () => {
2828 orderBy : [ { field : 'salary' , direction : 'desc' as const } ] ,
2929 } ;
3030
31- // @ts -ignore - testing private method
31+ // @ts -expect-error - testing private method
3232 const result : WindowNode = builder . buildWindow ( config ) ;
3333
3434 expect ( result ) . toMatchObject ( {
@@ -61,7 +61,7 @@ describe('QueryASTBuilder - Window Functions', () => {
6161 ] ,
6262 } ;
6363
64- // @ts -ignore
64+ // @ts -expect-error - testing private method
6565 const result : WindowNode = builder . buildWindow ( config ) ;
6666
6767 expect ( result ) . toMatchObject ( {
@@ -85,7 +85,7 @@ describe('QueryASTBuilder - Window Functions', () => {
8585 defaultValue : 0 ,
8686 } ;
8787
88- // @ts -ignore
88+ // @ts -expect-error - testing private method
8989 const result : WindowNode = builder . buildWindow ( config ) ;
9090
9191 expect ( result ) . toMatchObject ( {
@@ -116,7 +116,7 @@ describe('QueryASTBuilder - Window Functions', () => {
116116 offset : 1 ,
117117 } ;
118118
119- // @ts -ignore
119+ // @ts -expect-error - testing private method
120120 const result : WindowNode = builder . buildWindow ( config ) ;
121121
122122 expect ( result ) . toMatchObject ( {
@@ -140,7 +140,7 @@ describe('QueryASTBuilder - Window Functions', () => {
140140 } ,
141141 } ;
142142
143- // @ts -ignore
143+ // @ts -expect-error - testing private method
144144 const result : WindowNode = builder . buildWindow ( sumConfig ) ;
145145
146146 expect ( result ) . toMatchObject ( {
@@ -170,7 +170,7 @@ describe('QueryASTBuilder - Window Functions', () => {
170170 orderBy : [ { field : 'created_at' , direction : 'asc' as const } ] ,
171171 } ;
172172
173- // @ts -ignore
173+ // @ts -expect-error - testing private method
174174 const result : WindowNode = builder . buildWindow ( config ) ;
175175
176176 expect ( result ) . toMatchObject ( {
@@ -189,7 +189,7 @@ describe('QueryASTBuilder - Window Functions', () => {
189189 orderBy : [ { field : 'updated_at' , direction : 'desc' as const } ] ,
190190 } ;
191191
192- // @ts -ignore
192+ // @ts -expect-error - testing private method
193193 const result : WindowNode = builder . buildWindow ( config ) ;
194194
195195 expect ( result ) . toMatchObject ( {
@@ -206,7 +206,7 @@ describe('QueryASTBuilder - Window Functions', () => {
206206 orderBy : [ { field : 'created_at' , direction : 'asc' as const } ] ,
207207 } ;
208208
209- // @ts -ignore
209+ // @ts -expect-error - testing private method
210210 const result : WindowNode = builder . buildWindow ( config ) ;
211211
212212 expect ( result . partitionBy ) . toBeUndefined ( ) ;
@@ -226,7 +226,7 @@ describe('QueryASTBuilder - Window Functions', () => {
226226 } ,
227227 } ;
228228
229- // @ts -ignore
229+ // @ts -expect-error - testing private method
230230 const result : WindowNode = builder . buildWindow ( config ) ;
231231
232232 expect ( result . frame ) . toEqual ( {
@@ -244,7 +244,7 @@ describe('QueryASTBuilder - Window Functions', () => {
244244 orderBy : [ { field : 'score' , direction : 'desc' as const } ] ,
245245 } ;
246246
247- // @ts -ignore
247+ // @ts -expect-error - testing private method
248248 const result : WindowNode = builder . buildWindow ( config ) ;
249249
250250 expect ( result ) . toMatchObject ( {
@@ -262,7 +262,7 @@ describe('QueryASTBuilder - Window Functions', () => {
262262 orderBy : [ { field : 'exam_score' , direction : 'desc' as const } ] ,
263263 } ;
264264
265- // @ts -ignore
265+ // @ts -expect-error - testing private method
266266 const result : WindowNode = builder . buildWindow ( config ) ;
267267
268268 expect ( result ) . toMatchObject ( {
0 commit comments