From 14746a3983b3d2b583089cd73e2059eb677264d5 Mon Sep 17 00:00:00 2001 From: RafMenni Date: Thu, 15 Aug 2024 19:35:43 +0200 Subject: [PATCH] Update hello.js --- hello.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hello.js b/hello.js index bb451f3..b68cbe6 100644 --- a/hello.js +++ b/hello.js @@ -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;