Skip to content

Commit

Permalink
Re-test auto deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammerDATCH committed May 21, 2024
1 parent 6407b24 commit c3c7b82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ const router = () => chai.request(app)

describe("Initial configuration", () => {

it("Should retutn `Welcome to E-Commerce Ninjas BackEnd.` when GET on /", (done) => {
it("Should retutn `Welcome to the e-Commerce Ninjas BackEnd` when GET on /", (done) => {
router()
.get("/")
.end((err, res) => {
expect(res).to.have.status(200);
expect(res.body).to.be.a("object");
expect(res.body).to.have.property("message", "Welcome to E-Commerce Ninjas BackEnd.");
expect(res.body).to.have.property("message", "Welcome to the e-Commerce Ninjas BackEnd");
done(err);
});
});
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ app.use("/api-docs", SwaggerUi.serve, SwaggerUi.setup(Document));
app.get("/", (req: Request, res: Response) => {
res
.status(200)
.json({ status: true, message: "Welcome to E-Commerce Ninjas BackEnd." });
.json({ status: true, message: "Welcome to the e-Commerce Ninjas BackEnd" });
});

app.listen(PORT, () => {
Expand Down

0 comments on commit c3c7b82

Please sign in to comment.