@@ -67,7 +67,7 @@ describe("analytics", () => {
67
67
it ( "should create the correct payload for the telemetry consent (positive consent)" , async ( ) => {
68
68
await sendTelemetryConsentAnalytics ( true ) ;
69
69
70
- await checkIfSubprocessWasExecuted ( RESULT_FILE_PATH ) ;
70
+ await checkIfSubprocessWasExecuted ( RESULT_FILE_PATH , true ) ;
71
71
72
72
const result = await readJsonFile ( RESULT_FILE_PATH ) ;
73
73
@@ -89,7 +89,7 @@ describe("analytics", () => {
89
89
it ( "should create the correct payload for the telemetry consent (negative consent)" , async ( ) => {
90
90
await sendTelemetryConsentAnalytics ( false ) ;
91
91
92
- await checkIfSubprocessWasExecuted ( RESULT_FILE_PATH ) ;
92
+ await checkIfSubprocessWasExecuted ( RESULT_FILE_PATH , true ) ;
93
93
94
94
const result = await readJsonFile ( RESULT_FILE_PATH ) ;
95
95
@@ -111,7 +111,7 @@ describe("analytics", () => {
111
111
it ( "should create the correct payload for the task analytics" , async ( ) => {
112
112
const wasSent = await sendTaskAnalytics ( [ "task" , "subtask" ] ) ;
113
113
114
- await checkIfSubprocessWasExecuted ( RESULT_FILE_PATH ) ;
114
+ await checkIfSubprocessWasExecuted ( RESULT_FILE_PATH , true ) ;
115
115
116
116
const result : Payload = await readJsonFile ( RESULT_FILE_PATH ) ;
117
117
0 commit comments