helloWorld.spec.js: Fix disparity between the README example and actual test.
This commit is contained in:
parent
778096f544
commit
50ce8d002c
1 changed files with 4 additions and 2 deletions
|
@ -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 a new issue