spelling
This commit is contained in:
parent
9bc987ea0f
commit
8f068d9b3b
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ The main purpose of this exercise is to walk you through the process of running
|
|||
In this directory you will find 2 other files:
|
||||
1. `helloWorld.js`
|
||||
2. `helloWorld.spec.js`
|
||||
|
||||
This setup should be the same for all of the exercises. The plain javascript file is where you'll write your code, and the `spec` file contains the tests that verify your code is functional.
|
||||
|
||||
Let's look at the spec file first:
|
||||
|
@ -35,7 +36,7 @@ In this file we have a simple function called helloWorld that returns an empty s
|
|||
|
||||
Go ahead and see if you can make the test pass by editing the return value of the function, and then running the test file again.
|
||||
|
||||
Just to make sure, in case you're confused at this point, the test is telling you that running the function helloWorld should return the phrase `Hello, World!`. Punctuation and capitalization definitely matter here, so double check that if the test still isn't passing.
|
||||
Just to make sure, in case you're confused at this point, the test is telling you that running the function `helloWorld` should return the phrase `Hello, World!`. Punctuation and capitalization definitely matter here, so double check that if the test still isn't passing.
|
||||
|
||||
this is what the final function should look like:
|
||||
```javascript
|
||||
|
|
Loading…
Reference in a new issue