How to check my framework timeout in JS-Nightwatch?

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

Hello Macy,

You can pass LambdaTest assertion using the following code:

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