import { UserSession } from '@notifire/testing' ; import { expect } from 'chai' ; describe ( 'Health-check' , ( ) => { const session = new UserSession ( ) ; before ( async ( ) => { await session . initialize ( ) ; } ) ; describe ( '/health-check (GET)' , ( ) => { it ( 'should correctly return a health check' , async ( ) => { const { body : { data } , } = await session . testAgent . get ( '/v1/health-check' ) ; expect ( data . status ) . to . equal ( 'ok' ) ; } ) ; } ) ; } ) ;