this test is to ensure the process of running the test is working perfecet

This commit is contained in:
Akutsang 2023-02-03 14:45:18 +01:00
parent 8746ce056a
commit f0c250de64
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
const helloWorld = function() { const helloWorld = function() {
return '' return 'Hello, World!'
}; };
module.exports = helloWorld; module.exports = helloWorld;

View File

@ -1,7 +1,7 @@
const helloWorld = require('./helloWorld'); const greeting = require('./helloWorld');
describe('Hello World', function() { describe('Hello World', function() {
test('says "Hello, World!"', function() { test('says "Hello, World!"', function() {
expect(helloWorld()).toEqual('Hello, World!'); expect(greeting()).toEqual('Hello, World!');
}); });
}); });