How to mark test passed/failed on LambdaTest with JS-Karma?

How can I mark test passed/failed on LambdaTest with JS-Karma?

Hello Macy,

You can mark the test as passed or failed by adding lambda-status hooks below:

For Passed Test:
browser.executeScript("lambda-status=passed");
For Failed Test:
driver.executeScript('lambda-status=failed');

For your reference, please click here: