Skip to content
Snippets Groups Projects
Commit cab787b3 authored by Ypurbey2's avatar Ypurbey2
Browse files

Made practice edits.

parent 55e3cd41
Branches
No related tags found
No related merge requests found
export function helloWorld() { export function helloWorld() {
return [ return [
'Hello,', 1,
'World!',
]; ];
} }
...@@ -9,8 +9,7 @@ describe('the JavaScript language', () => { ...@@ -9,8 +9,7 @@ describe('the JavaScript language', () => {
describe('the hello-world function', () => { describe('the hello-world function', () => {
test('returns the correct string', () => { test('returns the correct string', () => {
expect(helloWorld()).toEqual([ expect(helloWorld()).toEqual([
'Hello,', 1,
'World!',
]); ]);
}); });
}); });
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment