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

Skip to content

Commit e226d4a

Browse files
authored
Merge pull request TheOdinProject#36 from chrisjwelly/master
Add more tests for fibonacci
2 parents 53299f4 + 65cbb63 commit e226d4a

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