We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need help please!! i'm try to run this test but the res is always undifined , its weird because when i try it from postman its work fine
the test:
const { chai, assert, should, expect, sinon } = require("../baseTest"); describe.only("Test the Default routes", function() { const server = 'http://localhost:3000'; this.timeout(20000); it("test the / route", (done) => { chai .request(server) .get("/") .end(function (err, res) { console.log(res); expect(err).to.be.null; expect(res).to.have.status(200); done(); }); }); });
what im doing wrong
The text was updated successfully, but these errors were encountered:
No branches or pull requests
need help please!!
i'm try to run this test but the res is always undifined , its weird because when i try it from postman its work fine
the test:
what im doing wrong
The text was updated successfully, but these errors were encountered: