tracks/javascript/exercises/isogram/README.md in trackler-2.2.1.94 vs tracks/javascript/exercises/isogram/README.md in trackler-2.2.1.95
- old
+ new
@@ -1,40 +1,44 @@
# Isogram
Determine if a word or phrase is an isogram.
-An isogram (also known as a "nonpattern word") is a word or phrase without a repeating letter.
+An isogram (also known as a "nonpattern word") is a word or phrase without a repeating letter, however spaces and hyphens are allowed to appear multiple times.
Examples of isograms:
- lumberjacks
- background
- downstream
+- six-year-old
The word *isograms*, however, is not an isogram, because the s repeats.
## Setup
-Go through the setup instructions for JavaScript to
-install the necessary dependencies:
+Go through the setup instructions for JavaScript to install the
+ necessary dependencies:
http://exercism.io/languages/javascript/installation
-## Making the Test Suite Pass
+## Running the test suite
-Execute the tests with:
+The provided test suite uses [Jasmine](https://jasmine.github.io/).
+You can install it by opening a terminal window and running the
+following command:
- jasmine <exercise-name>.spec.js
+```sh
+npm install -g jasmine
+```
-Replace `<exercise-name>` with the name of the current exercise. E.g., to
-test the Hello World exercise:
+Run the test suite from the exercise directory with:
- jasmine hello-world.spec.js
+```sh
+jasmine isogram.spec.js
+```
-In many test suites all but the first test have been skipped.
-
-Once you get a test passing, you can unskip the next one by
-changing `xit` to `it`.
+In many test suites all but the first test have been marked "pending".
+Once you get a test passing, activate the next one by changing `xit` to `it`.
## Source
Wikipedia [https://en.wikipedia.org/wiki/Isogram](https://en.wikipedia.org/wiki/Isogram)