File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { config } from '@global/config';
99export const printIonWarning = ( message : string , ...params : any [ ] ) => {
1010 const logLevel = config . get ( 'logLevel' , 'WARN' ) ;
1111 if ( [ 'WARN' ] . includes ( logLevel ) ) {
12- return console . warn ( `[Ionic Warn ]: ${ message } ` , ...params ) ;
12+ return console . warn ( `[Ionic Warning ]: ${ message } ` , ...params ) ;
1313 }
1414} ;
1515
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ describe('Logging', () => {
2222
2323 printIonWarning ( 'This is a warning message' ) ;
2424
25- expect ( consoleWarnSpy ) . toHaveBeenCalledWith ( '[Ionic Warn ]: This is a warning message' ) ;
25+ expect ( consoleWarnSpy ) . toHaveBeenCalledWith ( '[Ionic Warning ]: This is a warning message' ) ;
2626 } ) ;
2727 } ) ;
2828
@@ -32,7 +32,7 @@ describe('Logging', () => {
3232
3333 printIonWarning ( 'This is a warning message' ) ;
3434
35- expect ( consoleWarnSpy ) . toHaveBeenCalledWith ( '[Ionic Warn ]: This is a warning message' ) ;
35+ expect ( consoleWarnSpy ) . toHaveBeenCalledWith ( '[Ionic Warning ]: This is a warning message' ) ;
3636 } ) ;
3737 } ) ;
3838
You can’t perform that action at this time.
0 commit comments