From eea0f3b54d4108bd25c1a67af20c72246ec03410 Mon Sep 17 00:00:00 2001 From: Devansh_Baghel Date: Mon, 8 May 2023 00:29:31 +0530 Subject: [PATCH] Remove skips from basic calculator tests --- 08_calculator/calculator.spec.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/08_calculator/calculator.spec.js b/08_calculator/calculator.spec.js index dc317ec..7a53641 100644 --- a/08_calculator/calculator.spec.js +++ b/08_calculator/calculator.spec.js @@ -15,13 +15,13 @@ describe('add', () => { }); describe('subtract', () => { - test.skip('subtracts numbers', () => { + test('subtracts numbers', () => { expect(calculator.subtract(10,4)).toBe(6); }); }); describe('sum', () => { - test.skip('computes the sum of an empty array', () => { + test('computes the sum of an empty array', () => { expect(calculator.sum([])).toBe(0); }); @@ -39,7 +39,7 @@ describe('sum', () => { }); describe('multiply', () => { - test.skip('multiplies two numbers', () => { + test('multiplies two numbers', () => { expect(calculator.multiply([2,4])).toBe(8); }); @@ -49,13 +49,13 @@ describe('multiply', () => { }); describe('power', () => { - test.skip('raises one number to the power of another number', () => { + test('raises one number to the power of another number', () => { expect(calculator.power(4,3)).toBe(64); // 4 to third power is 64 }); }); describe('factorial', () => { - test.skip('computes the factorial of 0', () => { + test('computes the factorial of 0', () => { expect(calculator.factorial(0)).toBe(1); // 0! = 1 });