mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-07-19 14:43:22 +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');
|
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!');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user