Skip to content

Commit 10d559d

Browse files
committed
feat(factorial): remove .skip from all tests under solution
1 parent 8b2ed42 commit 10d559d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

13_factorial/solution/factorial-solution.spec.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,34 @@ describe('factorial', () => {
44
test('4th factorial number is 24', () => {
55
expect(factorial(4)).toBe(24);
66
});
7-
test.skip('6th factorial number is 720', () => {
7+
test('6th factorial number is 720', () => {
88
expect(factorial(6)).toBe(720);
99
});
10-
test.skip('10th factorial number is 3628800', () => {
10+
test('10th factorial number is 3628800', () => {
1111
expect(factorial(10)).toBe(3628800);
1212
});
13-
test.skip('15th factorial number is 1307674368000', () => {
13+
test('15th factorial number is 1307674368000', () => {
1414
expect(factorial(15)).toBe(1307674368000);
1515
});
16-
test.skip('25th factorial number is 1.5511210043330986e+25', () => {
16+
test('25th factorial number is 1.5511210043330986e+25', () => {
1717
expect(factorial(25)).toBe(1.5511210043330986e+25);
1818
});
19-
test.skip('0th factorial number is 1', () => {
19+
test('0th factorial number is 1', () => {
2020
expect(factorial(0)).toBe(1);
2121
});
22-
test.skip('doesn\'t accept negatives', () => {
22+
test('doesn\'t accept negatives', () => {
2323
expect(factorial(-25)).toBe(undefined);
2424
});
25-
test.skip('doesn\'t accept floats', () => {
25+
test('doesn\'t accept floats', () => {
2626
expect(factorial(5.4)).toBe(undefined);
2727
});
28-
test.skip('doesn\'t accept a number as a string', () => {
28+
test('doesn\'t accept a number as a string', () => {
2929
expect(factorial('5')).toBe(undefined);
3030
});
31-
test.skip('doesn\'t accept strings', () => {
31+
test('doesn\'t accept strings', () => {
3232
expect(factorial('foo')).toBe(undefined);
3333
});
34-
test.skip('doesn\'t accept arrays', () => {
34+
test('doesn\'t accept arrays', () => {
3535
expect(factorial([5])).toBe(undefined);
3636
});
3737
});

0 commit comments

Comments
 (0)