Skip to content

Commit

Permalink
Update hello.js
Browse files Browse the repository at this point in the history
  • Loading branch information
RafMenni authored Aug 15, 2024
1 parent ede3b38 commit 14746a3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions hello.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
const hello = require("./hello");
describe("My hello", () => {
test("works", () => {
expect(hello.hello()).toEqual("Hello World from France!");
});
});
const hello = () => "Hello World from France";
console.log(hello());
exports.hello = hello;

0 comments on commit 14746a3

Please sign in to comment.