diff --git a/01_helloWorld/helloWorld.js b/01_helloWorld/helloWorld.js index df27036..b542f3b 100644 --- a/01_helloWorld/helloWorld.js +++ b/01_helloWorld/helloWorld.js @@ -1,5 +1,5 @@ const helloWorld = function() { - return '' + return 'Hello, World!' }; module.exports = helloWorld; diff --git a/01_helloWorld/helloWorld.spec.js b/01_helloWorld/helloWorld.spec.js index e6030fd..fb96c7e 100644 --- a/01_helloWorld/helloWorld.spec.js +++ b/01_helloWorld/helloWorld.spec.js @@ -1,7 +1,7 @@ -const helloWorld = require('./helloWorld'); +const greeting = require('./helloWorld'); describe('Hello World', function() { test('says "Hello, World!"', function() { - expect(helloWorld()).toEqual('Hello, World!'); + expect(greeting()).toEqual('Hello, World!'); }); });