We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2c0d09 commit 5ac1931Copy full SHA for 5ac1931
10_fibonacci/fibonacci.spec.js
@@ -16,9 +16,15 @@ describe('fibonacci', () => {
16
test.skip('25th fibonacci number is 75025', () => {
17
expect(fibonacci(25)).toBe(75025);
18
});
19
+ test('0th fibonacci number is o', () => {
20
+ expect(fibonacci(0)).toBe(0);
21
+ });
22
test.skip('doesn\'t accept negatives', () => {
23
expect(fibonacci(-25)).toBe("OOPS");
24
25
+ test.skip('DOES accept strings', () => {
26
+ expect(fibonacci("0")).toBe(0);
27
28
test.skip('DOES accept strings', () => {
29
expect(fibonacci("1")).toBe(1);
30
0 commit comments