8000 Add more tests for fibonacci · Timework/javascript-exercises@3475115 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3475115

Browse files
committed
Add more tests for fibonacci
1 parent 55e23a1 commit 3475115

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