I've got strange error with Jenkins.
When I run localy tests everything is ok. But If I run tests on Jenkins I always get error:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
My before step:
before(function () {
return chakram.get(`{baseUrl}/api/cats`)
.then(apiResp => {
return getCats= apiResp;
})
})