8000 Merge pull request #36 from chrisjwelly/master · NoderCoder/javascript-exercises@c2ca1d7 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c2ca1d7

Browse files
authored
Merge pull request TheOdinProject#36 from chrisjwelly/master
Add more tests for fibonacci
2 parents cc479b5 + 3475115 commit c2ca1d7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

fibonacci/fibonacci.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ describe('fibonacci', function() {
1919
xit('doesn\'t accept negatives', function() {
2020
expect(fibonacci(-25)).toEqual("OOPS");
2121
});
22+
xit('DOES accept strings', function() {
23+
expect(fibonacci("1")).toEqual(1);
24+
});
25+
xit('DOES accept strings', function() {
26+
expect(fibonacci("2")).toEqual(1);
27+
});
2228
xit('DOES accept strings', function() {
2329
expect(fibonacci("8")).toEqual(21);
2430
});

0 commit comments

Comments
 (0)
0