@@ -18,13 +18,13 @@ exports.logger = {
18
18
next ( ) ;
19
19
} ,
20
20
21
- "is default logger is console object " : function ( test ) {
21
+ "defaults to console logger " : function ( test ) {
22
22
const loggerName = Object . prototype . toString . call ( this . mixpanel . config . logger ) ;
23
23
test . deepEqual ( loggerName , '[object console]' , "default logger is incorrect" ) ;
24
24
test . done ( ) ;
25
25
} ,
26
26
27
- "is throws an error on incorrect logger object" : function ( test ) {
27
+ "throws an error on incorrect logger object" : function ( test ) {
28
28
test . throws (
29
29
( ) => this . mixpanel . set_config ( { logger : false } ) ,
30
30
TypeError ,
@@ -38,7 +38,7 @@ exports.logger = {
38
38
test . done ( ) ;
39
39
} ,
40
40
41
- "is write log for track() method" : function ( test ) {
41
+ "writes log for track() method" : function ( test ) {
42
42
this . mixpanel . set_config ( { debug : true } ) ;
43
43
44
44
this . mixpanel . track ( 'test' , { foo : 'bar' } ) ;
@@ -58,7 +58,7 @@ exports.logger = {
58
58
test . done ( ) ;
59
59
} ,
60
60
61
- "is write log for increment() method" : function ( test ) {
61
+ "writes log for increment() method" : function ( test ) {
62
62
this . mixpanel . set_config ( { debug : true } ) ;
63
63
64
64
this . mixpanel . people . increment ( 'bob' , 'page_views' , 1 ) ;
@@ -78,7 +78,7 @@ exports.logger = {
78
78
test . done ( ) ;
79
79
} ,
80
80
81
- "is write log for remove() method" : function ( test ) {
81
+ "writes log for remove() method" : function ( test ) {
82
82
this . mixpanel . set_config ( { debug : true } ) ;
83
83
84
84
this . mixpanel . people . remove ( 'bob' , { 'browsers' : 'firefox' } ) ;
0 commit comments