How to mark a test case as pass on LambdaTest?

How to mark a test case as pass on LambdaTest ?

Hey Macy-Davis,

Pass the following in the try block:

catch (Exception $e){
        self::$driver->executeScript("lambda-status=failed");
        }

Refer to Lambdatest Hooks -