@@ -130,7 +130,7 @@ describe('SlickGrid core file', () => {
130130 } ) ;
131131
132132 it ( 'should display a console warning when body zoom level is different than 100%' , ( ) => {
133- const consoleWarnSpy = vi . spyOn ( global . console , 'warn' ) . mockReturnValue ( ) ;
133+ const consoleWarnSpy = vi . spyOn ( console , 'warn' ) . mockReturnValue ( ) ;
134134
135135 document . body . style . zoom = '90%' ;
136136 const columns = [ { id : 'firstName' , field : 'firstName' , name : 'First Name' } ] as Column [ ] ;
@@ -142,7 +142,7 @@ describe('SlickGrid core file', () => {
142142 } ) ;
143143
144144 it ( 'should not display a console warning when body zoom level is 100%' , ( ) => {
145- const consoleWarnSpy = vi . spyOn ( global . console , 'warn' ) . mockReturnValue ( ) ;
145+ const consoleWarnSpy = vi . spyOn ( console , 'warn' ) . mockReturnValue ( ) ;
146146
147147 document . body . style . zoom = '100%' ;
148148 const columns = [ { id : 'firstName' , field : 'firstName' , name : 'First Name' } ] as Column [ ] ;
@@ -154,7 +154,7 @@ describe('SlickGrid core file', () => {
154154 } ) ;
155155
156156 it ( 'should not display a console warning when body zoom is not defined' , ( ) => {
157- const consoleWarnSpy = vi . spyOn ( global . console , 'warn' ) . mockReturnValue ( ) ;
157+ const consoleWarnSpy = vi . spyOn ( console , 'warn' ) . mockReturnValue ( ) ;
158158
159159 document . body . style . zoom = '' ;
160160 const columns = [ { id : 'firstName' , field : 'firstName' , name : 'First Name' } ] as Column [ ] ;
@@ -166,7 +166,7 @@ describe('SlickGrid core file', () => {
166166 } ) ;
167167
168168 it ( 'should display a console warning when Row Detail is enabled with `rowTopOffsetRenderType` is set to "transfrom"' , ( ) => {
169- const consoleWarnSpy = vi . spyOn ( global . console , 'warn' ) . mockReturnValue ( ) ;
169+ const consoleWarnSpy = vi . spyOn ( console , 'warn' ) . mockReturnValue ( ) ;
170170
171171 document . body . style . zoom = '90%' ;
172172 const columns = [ { id : 'firstName' , field : 'firstName' , name : 'First Name' } ] as Column [ ] ;
@@ -186,7 +186,7 @@ describe('SlickGrid core file', () => {
186186 } ) ;
187187
188188 it ( 'should display a console warning when RowSpan is enabled with `rowTopOffsetRenderType` is set to "transfrom"' , ( ) => {
189- const consoleWarnSpy = vi . spyOn ( global . console , 'warn' ) . mockReturnValue ( ) ;
189+ const consoleWarnSpy = vi . spyOn ( console , 'warn' ) . mockReturnValue ( ) ;
190190
191191 document . body . style . zoom = '90%' ;
192192 const columns = [ { id : 'firstName' , field : 'firstName' , name : 'First Name' } ] as Column [ ] ;
@@ -1499,7 +1499,7 @@ describe('SlickGrid core file', () => {
14991499 } ) ;
15001500
15011501 it ( 'should define colspan and rowspan but get a warning when enableCellRowSpan is disabled' , ( ) => {
1502- const consoleWarnSpy = vi . spyOn ( global . console , 'warn' ) . mockReturnValue ( ) ;
1502+ const consoleWarnSpy = vi . spyOn ( console , 'warn' ) . mockReturnValue ( ) ;
15031503 const columns = [
15041504 { id : 'firstName' , field : 'firstName' , name : 'First Name' } ,
15051505 { id : 'lastName' , field : 'lastName' , name : 'Last Name' } ,
0 commit comments