File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
projects/igniteui-angular/src/lib/services/pdf Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -307,6 +307,8 @@ describe('PDF Grid Exporter', () => {
307307 fix . detectChanges ( ) ;
308308
309309 const grid = fix . componentInstance . hgrid ;
310+ grid . expandAll ( ) ;
311+ fix . detectChanges ( ) ;
310312
311313 exporter . exportEnded . pipe ( first ( ) ) . subscribe ( ( ) => {
312314 expect ( ExportUtilities . saveBlobToFile ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -328,6 +330,8 @@ describe('PDF Grid Exporter', () => {
328330 fix . detectChanges ( ) ;
329331
330332 const grid = fix . componentInstance . treeGrid ;
333+ grid . expandAll ( ) ;
334+ fix . detectChanges ( ) ;
331335
332336 exporter . exportEnded . pipe ( first ( ) ) . subscribe ( ( ) => {
333337 expect ( ExportUtilities . saveBlobToFile ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -349,6 +353,8 @@ describe('PDF Grid Exporter', () => {
349353 fix . detectChanges ( ) ;
350354
351355 const grid = fix . componentInstance . treeGrid ;
356+ grid . expandAll ( ) ;
357+ fix . detectChanges ( ) ;
352358
353359 exporter . exportEnded . pipe ( first ( ) ) . subscribe ( ( ) => {
354360 expect ( ExportUtilities . saveBlobToFile ) . toHaveBeenCalledTimes ( 1 ) ;
You can’t perform that action at this time.
0 commit comments