helloWorld.spec.js: Fix disparity between the README example and actual test.

This commit is contained in:
Michael Frank 2021-05-29 07:26:28 +12:00
parent 778096f544
commit 50ce8d002c

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()).toBe('Hello, World!');
});
});