@@ -4,37 +4,37 @@ describe('factorial', () => {
4
4
test ( '4th factorial number is 24' , ( ) => {
5
5
expect ( factorial ( 4 ) ) . toBe ( 24 ) ;
6
6
} ) ;
7
- test ( '6th factorial number is 720' , ( ) => {
7
+ test . skip ( '6th factorial number is 720' , ( ) => {
8
8
expect ( factorial ( 6 ) ) . toBe ( 720 ) ;
9
9
} ) ;
10
- test ( '10th factorial number is 3628800' , ( ) => {
10
+ test . skip ( '10th factorial number is 3628800' , ( ) => {
11
11
expect ( factorial ( 10 ) ) . toBe ( 3628800 ) ;
12
12
} ) ;
13
- test ( '15th factorial number is 1307674368000' , ( ) => {
13
+ test . skip ( '15th factorial number is 1307674368000' , ( ) => {
14
14
expect ( factorial ( 15 ) ) . toBe ( 1307674368000 ) ;
15
15
} ) ;
16
- test ( '25th factorial number is 1.5511210043330986e+255' , ( ) => {
16
+ test . skip ( '25th factorial number is 1.5511210043330986e+255' , ( ) => {
17
17
expect ( factorial ( 25 ) ) . toBe ( 1.5511210043330986e+25 ) ;
18
18
} ) ;
19
- test ( '0th factorial number is 1' , ( ) => {
19
+ test . skip ( '0th factorial number is 1' , ( ) => {
20
20
expect ( factorial ( 0 ) ) . toBe ( 1 ) ;
21
21
} ) ;
22
- test ( 'doesn\'t accept negatives' , ( ) => {
22
+ test . skip ( 'doesn\'t accept negatives' , ( ) => {
23
23
expect ( factorial ( - 25 ) ) . toBe ( undefined ) ;
24
24
} ) ;
25
- test ( 'doesn\'t accept floats' , ( ) => {
25
+ test . skip ( 'doesn\'t accept floats' , ( ) => {
26
26
expect ( factorial ( 5.4 ) ) . toBe ( undefined ) ;
27
27
} ) ;
28
- test ( 'DOES accept strings' , ( ) => {
28
+ test . skip ( 'DOES accept strings' , ( ) => {
29
29
expect ( factorial ( "0" ) ) . toBe ( 1 ) ;
30
30
} ) ;
31
- test ( 'DOES accept strings' , ( ) => {
31
+ test . skip ( 'DOES accept strings' , ( ) => {
32
32
expect ( factorial ( "1" ) ) . toBe ( 1 ) ;
33
33
} ) ;
34
- test ( 'DOES accept strings' , ( ) => {
34
+ test . skip ( 'DOES accept strings' , ( ) => {
35
35
expect ( factorial ( "2" ) ) . toBe ( 2 ) ;
36
36
} ) ;
37
- test ( 'DOES accept strings' , ( ) => {
37
+ test . skip ( 'DOES accept strings' , ( ) => {
38
38
expect ( factorial ( "8" ) ) . toBe ( 40320 ) ;
39
39
} ) ;
40
40
} ) ;
0 commit comments