You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I am having issues using chai and chai-http with nodejs version 20.17.0 using type: module.
Current libraries version: "chai": "^5.1.1", "chai-http": "^5.0.0" and "mocha": "^10.7.3".
Look my test files:
Now look the output:
How the second test (BAD_REQUEST) fails if it has the same configuration of the first test (OK)?
Also I imported chai-http with 'chai-http/index.js' to avoid the WARNING deprecation, but chai.request is not define.
The text was updated successfully, but these errors were encountered:
And yes, if I define the BAD_REQUEST test inside of the OK test it works, but the idea is to have the error codes type in different files. May you please help me?
Note: When I import chaiHttp with 'chai-htpp', chai.request.execute() exists, with 'chai-http/index' do not exist and the WARNING appears.
Hello I am having issues using chai and chai-http with nodejs version 20.17.0 using type: module.
Current libraries version: "chai": "^5.1.1", "chai-http": "^5.0.0" and "mocha": "^10.7.3".
Look my test files:
Now look the output:
How the second test (BAD_REQUEST) fails if it has the same configuration of the first test (OK)?
Also I imported chai-http with 'chai-http/index.js' to avoid the WARNING deprecation, but chai.request is not define.
The text was updated successfully, but these errors were encountered: