@@ -3,31 +3,31 @@ const logger = require('../src/lib/logger');
33
44// Logger
55describe ( 'Logger library' , ( ) => {
6- it ( 'expect the "logger.info" function to be a function' , ( done ) => {
6+ it ( 'expect the "logger.info" to exists and be a function' , ( done ) => {
77 expect ( typeof ( logger . info ) ) . to . be . equals ( 'function' ) ;
88 done ( ) ;
99 } ) ;
1010 it ( 'expect the "logger.info" function to not throw without an argument' , ( done ) => {
1111 expect ( logger . info ) . to . not . throw ( ) ;
1212 done ( ) ;
1313 } ) ;
14- it ( 'expect the "logger.warn" function to be a function' , ( done ) => {
14+ it ( 'expect the "logger.warn" to exists and be a function' , ( done ) => {
1515 expect ( typeof ( logger . warn ) ) . to . be . equals ( 'function' ) ;
1616 done ( ) ;
1717 } ) ;
1818 it ( 'expect the "logger.warn" function to not throw without an argument' , ( done ) => {
1919 expect ( logger . warn ) . to . not . throw ( ) ;
2020 done ( ) ;
2121 } ) ;
22- it ( 'expect the "logger.error" function to be a function' , ( done ) => {
22+ it ( 'expect the "logger.error" to exists and be a function' , ( done ) => {
2323 expect ( typeof ( logger . error ) ) . to . be . equals ( 'function' ) ;
2424 done ( ) ;
2525 } ) ;
2626 it ( 'expect the "logger.error" function to not throw without an argument' , ( done ) => {
2727 expect ( logger . error ) . to . not . throw ( ) ;
2828 done ( ) ;
2929 } ) ;
30- it ( 'expect the "logger.log" function to be a function' , ( done ) => {
30+ it ( 'expect the "logger.log" to exists and be a function' , ( done ) => {
3131 expect ( typeof ( logger . log ) ) . to . be . equals ( 'function' ) ;
3232 done ( ) ;
3333 } ) ;
0 commit comments