Skip to content

Commit 3b04fb4

Browse files
joeljucamatthewmorgan
authored andcommitted
Updates test instructions on Hello World's HINTS.md (exercism#350)
Closes #349
1 parent e5d82cf commit 3b04fb4

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

SETUP.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ http://exercism.io/languages/javascript
99

1010
Execute the tests with:
1111

12-
jasmine .
12+
jasmine <exercise-name>.spec.js
13+
14+
Replace `<exercise-name>` with the name of the current exercise. E.g., to
15+
test the Hello World exercise:
16+
17+
jasmine hello-world.spec.js
1318

1419
In many test suites all but the first test have been skipped.
1520

exercises/hello-world/HINTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This is the first test:
2424

2525
Run the test now, with the following command on the command-line:
2626

27-
jasmine .
27+
jasmine hello-world.spec.js
2828

2929
The test fails, which makes sense since you've not written any code yet.
3030

@@ -76,7 +76,7 @@ Try changing the function in hello-world.js so that it says
7676

7777
Then run the tests again from the command-line:
7878

79-
jasmine .
79+
jasmine hello-world.spec.js
8080

8181
Notice how it changes the failure message.
8282

0 commit comments

Comments
 (0)