@@ -42,7 +42,7 @@ function testMetrics(data){
42
42
function testBeginSession ( data ) {
43
43
data = JSON . parse ( data ) ;
44
44
assert . equal ( data . begin_session , 1 ) ;
45
- assert . equal ( data . app_key , "{YOUR-APP-KEY} " ) ;
45
+ assert . equal ( data . app_key , "YOUR_APP_KEY " ) ;
46
46
assert . ok ( data . device_id ) ;
47
47
assert . ok ( data . timestamp ) ;
48
48
assert . ok ( typeof data . hour !== "undefined" ) ;
@@ -53,7 +53,7 @@ function testBeginSession(data){
53
53
function testSessionDuration ( data ) {
54
54
data = JSON . parse ( data ) ;
55
55
assert . equal ( assert ( data . session_duration >= 60 && data . session_duration <= 61 ) ) ;
56
- assert . equal ( data . app_key , "{YOUR-APP-KEY} " ) ;
56
+ assert . equal ( data . app_key , "YOUR_APP_KEY " ) ;
57
57
assert . ok ( data . device_id ) ;
58
58
assert . ok ( data . timestamp ) ;
59
59
assert . ok ( typeof data . hour !== "undefined" ) ;
@@ -64,7 +64,7 @@ function testEndSession(data){
64
64
data = JSON . parse ( data ) ;
65
65
assert . equal ( data . end_session , 1 ) ;
66
66
assert . equal ( assert ( data . session_duration >= 9 && data . session_duration <= 11 ) ) ;
67
- assert . equal ( data . app_key , "{YOUR-APP-KEY} " ) ;
67
+ assert . equal ( data . app_key , "YOUR_APP_KEY " ) ;
68
68
assert . ok ( data . device_id ) ;
69
69
assert . ok ( data . timestamp ) ;
70
70
assert . ok ( typeof data . hour !== "undefined" ) ;
@@ -82,7 +82,7 @@ function testEvent(data){
82
82
assert . ok ( typeof data . events [ i ] . hour !== "undefined" ) ;
83
83
assert . ok ( typeof data . events [ i ] . dow !== "undefined" ) ;
84
84
}
85
- assert . equal ( data . app_key , "{YOUR-APP-KEY} " ) ;
85
+ assert . equal ( data . app_key , "YOUR_APP_KEY " ) ;
86
86
assert . ok ( data . device_id ) ;
87
87
assert . ok ( data . timestamp ) ;
88
88
assert . ok ( typeof data . hour !== "undefined" ) ;
@@ -102,7 +102,7 @@ function testUserDetails(data){
102
102
assert . ok ( data . user_details . gender ) ;
103
103
assert . ok ( data . user_details . byear ) ;
104
104
assert . ok ( data . user_details . custom ) ;
105
- assert . equal ( data . app_key , "{YOUR-APP-KEY} " ) ;
105
+ assert . equal ( data . app_key , "YOUR_APP_KEY " ) ;
106
106
assert . ok ( data . device_id ) ;
107
107
assert . ok ( data . timestamp ) ;
108
108
assert . ok ( typeof data . hour !== "undefined" ) ;
@@ -120,7 +120,7 @@ function testCrash(data){
120
120
assert . ok ( data . crash . _run ) ;
121
121
assert . ok ( data . crash . _not_os_specific ) ;
122
122
assert . ok ( data . crash . _nonfatal ) ;
123
- assert . equal ( data . app_key , "{YOUR-APP-KEY} " ) ;
123
+ assert . equal ( data . app_key , "YOUR_APP_KEY " ) ;
124
124
assert . ok ( data . device_id ) ;
125
125
assert . ok ( data . timestamp ) ;
126
126
assert . ok ( typeof data . hour !== "undefined" ) ;
0 commit comments