Please add `throw(e);` to line 37 in sample_test.js and to line 19 in local_test.js The issue is the status of the local tests is not the same as the status of the test in browserstack because we're consuming the error in the test.