From f7aa75105465ea8d36a3807bb6910df2281bc449 Mon Sep 17 00:00:00 2001 From: Katie Kroell Date: Wed, 18 Mar 2026 11:31:36 -0400 Subject: [PATCH] remove duplicate code --- src/store/store.spec.js | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/src/store/store.spec.js b/src/store/store.spec.js index c889904d..bd601c24 100644 --- a/src/store/store.spec.js +++ b/src/store/store.spec.js @@ -2516,37 +2516,5 @@ describe('Store', () => { partType: 'NON_GLASS' }); }); - it('updatePhoneNumbers updates phone info in store', () => { - // Arrange - const homePhone = getRandomInt(1000000000, 9999999999); - const servicePhone = getRandomInt(1000000000, 9999999999); - const altPhone = getRandomInt(1000000000, 9999999999); - const extension = getRandomInt(10000, 99999); - - // Act - store.updatePhoneNumbers({ - home: homePhone, - service: servicePhone, - alternative: altPhone, - extension - }); - - // Assert - expect(store.contactInfo.homePhone).toEqual(homePhone); - expect(store.contactInfo.servicePhone).toEqual(servicePhone); - expect(store.contactInfo.alternativePhone).toEqual(altPhone); - expect(store.contactInfo.extension).toEqual(extension); - }); - it('All null values => contact info set in store to all null/default', () => { - // Act - store.updateContactInfo({}); - - // Assert - expect(store.contactInfo.firstName).toEqual(null); - expect(store.contactInfo.lastName).toEqual(null); - expect(store.contactInfo.emailAddress).toEqual(null); - expect(store.contactInfo.requestTextUpdates).toEqual(false); - expect(store.contactInfo.notesForTechnician).toEqual(''); - }); }); });