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
1 changed files with 4 additions and 2 deletions

View File

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