@@ -224,7 +224,7 @@ test("Local Conductor - get app info with app ws", async (t) => {
224
224
const appWs = await conductor . connectAppWs ( issued . token , port ) ;
225
225
const appInfo = await appWs . appInfo ( ) ;
226
226
assert ( appInfo ) ;
227
- t . deepEqual ( appInfo . status , "running" ) ;
227
+ t . deepEqual ( appInfo . status , { type : "running" } ) ;
228
228
await conductor . shutDown ( ) ;
229
229
await stopLocalServices ( servicesProcess ) ;
230
230
await cleanAllConductors ( ) ;
@@ -246,7 +246,7 @@ test("Local Conductor - get app info with app agent ws", async (t) => {
246
246
. issueAppAuthenticationToken ( { installed_app_id : app . installed_app_id } ) ;
247
247
const appWs = await conductor . connectAppWs ( issued . token , port ) ;
248
248
const appInfo = await appWs . appInfo ( ) ;
249
- t . deepEqual ( appInfo . status , "running" ) ;
249
+ t . deepEqual ( appInfo . status , { type : "running" } ) ;
250
250
await conductor . shutDown ( ) ;
251
251
await stopLocalServices ( servicesProcess ) ;
252
252
await cleanAllConductors ( ) ;
@@ -290,7 +290,7 @@ test("Local Conductor - install app with deferred memproofs", async (t) => {
290
290
let appInfo = await appWs . appInfo ( ) ;
291
291
t . deepEqual (
292
292
appInfo . status ,
293
- { disabled : { reason : "never_started" } } ,
293
+ { type : " disabled" , value : { reason : { type : "never_started" } } } ,
294
294
"app status is never_started"
295
295
) ;
296
296
@@ -302,7 +302,7 @@ test("Local Conductor - install app with deferred memproofs", async (t) => {
302
302
. enableApp ( { installed_app_id : app . installed_app_id } ) ;
303
303
304
304
appInfo = await appWs . appInfo ( ) ;
305
- t . equal ( appInfo . status , "running" , "app status is running" ) ;
305
+ t . deepEqual ( appInfo . status , { type : "running" } , "app status is running" ) ;
306
306
307
307
await conductor . shutDown ( ) ;
308
308
await stopLocalServices ( servicesProcess ) ;
0 commit comments