mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
helloWorld.spec.js: Fix disparity between the README example and actual test.
This commit is contained in:
@@ -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!');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user