@@ -61,14 +61,14 @@ describe('IgxGrid - Clipboard #grid', () => {
61
61
62
62
let eventData = dispatchCopyEventOnGridBody ( fix ) ;
63
63
expect ( copySpy ) . toHaveBeenCalledTimes ( 1 ) ;
64
- expect ( eventData ) . toEqual ( 'ID;ProductNameHeader\r\n1;\r\n;** NetAdvantage **\r\n ' ) ;
64
+ expect ( eventData ) . toEqual ( 'ID;ProductNameHeader\r\n1;\r\n;** NetAdvantage **' ) ;
65
65
66
66
grid . clipboardOptions . separator = ',' ;
67
67
fix . detectChanges ( ) ;
68
68
69
69
eventData = dispatchCopyEventOnGridBody ( fix ) ;
70
70
expect ( copySpy ) . toHaveBeenCalledTimes ( 2 ) ;
71
- expect ( eventData ) . toEqual ( 'ID,ProductNameHeader\r\n1,\r\n,** NetAdvantage **\r\n ' ) ;
71
+ expect ( eventData ) . toEqual ( 'ID,ProductNameHeader\r\n1,\r\n,** NetAdvantage **' ) ;
72
72
} ) ;
73
73
74
74
it ( 'Copy data without headers' , ( ) => {
@@ -126,13 +126,13 @@ describe('IgxGrid - Clipboard #grid', () => {
126
126
127
127
let eventData = dispatchCopyEventOnGridBody ( fix ) ;
128
128
expect ( copySpy ) . toHaveBeenCalledTimes ( 1 ) ;
129
- expect ( eventData ) . toEqual ( 'ProductNameHeader\r\nNetAdvantage\r\nIgnite UI for Angular\r\n\r\n ' ) ;
129
+ expect ( eventData ) . toEqual ( 'ProductNameHeader\r\nNetAdvantage\r\nIgnite UI for Angular\r\n' ) ;
130
130
grid . clipboardOptions . copyFormatters = true ;
131
131
fix . detectChanges ( ) ;
132
132
133
133
eventData = dispatchCopyEventOnGridBody ( fix ) ;
134
134
expect ( copySpy ) . toHaveBeenCalledTimes ( 2 ) ;
135
- expect ( eventData ) . toEqual ( 'ProductNameHeader\r\n** NetAdvantage **\r\n** Ignite UI for Angular **\r\n** null **\r\n ' ) ;
135
+ expect ( eventData ) . toEqual ( 'ProductNameHeader\r\n** NetAdvantage **\r\n** Ignite UI for Angular **\r\n** null **' ) ;
136
136
} ) ;
137
137
138
138
it ( 'Cancel gridCopy event ' , ( ) => {
0 commit comments