How to check my framework timeout in JS-Mocha?

How can I check my framework timeout in JS-Mocha?

Hello Macy,

To check the framework timeout in JS-Mocha, you can use the below code:

try {
    // some GET request
    Assert.assertEquals(ActualValue, ExpectedValue);
} catch (AssertionError e) {
    Status = "failed";
    exceptionCapture.add(e.getMessage());
    ((JavascriptExecutor) driver).executeScript("lambda-exceptions", exceptionCapture);
}