helloWorld.spec.js: Fix disparity between the README example and actual test.
This commit is contained in:
parent
778096f544
commit
50ce8d002c
|
@ -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!');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue