From c841bafa56f795e3cc0a1ac26978735642dceb29 Mon Sep 17 00:00:00 2001 From: Terry Smith Date: Wed, 13 Jul 2022 14:09:36 -0300 Subject: [PATCH 1/2] Make a change --- src/calculator.spec.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/calculator.spec.ts b/src/calculator.spec.ts index f8dede2..15d3d90 100644 --- a/src/calculator.spec.ts +++ b/src/calculator.spec.ts @@ -16,9 +16,7 @@ describe('Calulator: no starting value', () => { }) it('can perform addition', () => { - calc.plus(3) - expect(calc.total).toEqual(3); - calc.plus(7) + calc.plus(7) expect(calc.total).toEqual(10); calc.plus(3) expect(calc.total).toEqual(13); From c04200a055f5095cff1812392acc7ed09afa47fc Mon Sep 17 00:00:00 2001 From: Terry Smith Date: Wed, 13 Jul 2022 14:10:43 -0300 Subject: [PATCH 2/2] Remove adition test --- src/calculator.spec.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/calculator.spec.ts b/src/calculator.spec.ts index 15d3d90..6a851d2 100644 --- a/src/calculator.spec.ts +++ b/src/calculator.spec.ts @@ -15,12 +15,14 @@ describe('Calulator: no starting value', () => { expect(calc.mode).toEqual("graphing"); }) - it('can perform addition', () => { - calc.plus(7) - expect(calc.total).toEqual(10); - calc.plus(3) - expect(calc.total).toEqual(13); - }) + // it('can perform addition', () => { + // calc.plus(3) + // expect(calc.total).toEqual(3); + // calc.plus(7) + // expect(calc.total).toEqual(10); + // calc.plus(3) + // expect(calc.total).toEqual(13); + // }) // it('can perform subtraction', () => { // calc.minus(1)