Merge pull request #156 from TheOdinProject/fix/hello-world-exercise

This commit is contained in:
xandora 2021-05-29 14:51:10 +12:00 committed by GitHub
commit 9c3bcb49f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

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