Skip to content

Commit

Permalink
ci: add more hello worlds
Browse files Browse the repository at this point in the history
  • Loading branch information
Albert Hernandez Pellicer committed Feb 10, 2024
1 parent 3f6a8b2 commit 641f711
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ function handleError(error: unknown) {
}

process.on("uncaughtException", handleError);

// hello world
1 change: 1 addition & 0 deletions tests/src/contexts/users/api/user-controller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ describe("UserController", () => {

describe("run", () => {
it("should respond with status 200", () => {
// Hello world!
controller.run(req, res);
expect(res.status).toHaveBeenCalledWith(200);
expect(res.send).toHaveBeenCalledWith({ users: "ok" });
Expand Down

0 comments on commit 641f711

Please sign in to comment.