diff --git a/fibonacci/fibonacci.spec.js b/fibonacci/fibonacci.spec.js index d7adebe..cafe796 100644 --- a/fibonacci/fibonacci.spec.js +++ b/fibonacci/fibonacci.spec.js @@ -19,6 +19,12 @@ describe('fibonacci', function() { xit('doesn\'t accept negatives', function() { expect(fibonacci(-25)).toEqual("OOPS"); }); + xit('DOES accept strings', function() { + expect(fibonacci("1")).toEqual(1); + }); + xit('DOES accept strings', function() { + expect(fibonacci("2")).toEqual(1); + }); xit('DOES accept strings', function() { expect(fibonacci("8")).toEqual(21); }); diff --git a/helloWorld/README.md b/helloWorld/README.md index cb5114c..8b30771 100644 --- a/helloWorld/README.md +++ b/helloWorld/README.md @@ -13,7 +13,7 @@ Let's look at the spec file first: const helloWorld = require('./helloWorld'); describe('Hello World', function() { - it('says hello world', function() { + it('says hello world', function() { expect(helloWorld()).toEqual('Hello, World!'); }); }); diff --git a/removeFromArray/README.md b/removeFromArray/README.md index ddee4c8..101254c 100644 --- a/removeFromArray/README.md +++ b/removeFromArray/README.md @@ -12,4 +12,6 @@ the first test on this one is fairly easy, but there are a few things to think a - how to remove a single element from an array - how to deal with multiple optional arguments in a javascript function - - [Check this link](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments). Scroll down to the bit about `Array.from` or the spread operator. +- [Check this link](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/arguments). Scroll down to the bit about `Array.from` or the spread operator. - [Or this link](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters). + + diff --git a/reverseString/README.md b/reverseString/README.md index 578adc1..34f464b 100644 --- a/reverseString/README.md +++ b/reverseString/README.md @@ -1,6 +1,6 @@ # Exercise 02 - Reverse a String. -Pretty simple, write a function called `reverseString` that returns it's input, reversed! +Pretty simple, write a function called `reverseString` that returns its input, reversed! ```javascript reverseString('hello there') // returns 'ereht olleh'