diff --git a/force-app/main/default/lwc/editContactRecord/__tests__/editContactRecord.test.js b/force-app/main/default/lwc/editContactRecord/__tests__/editContactRecord.test.js index 4c536c8..622fea9 100644 --- a/force-app/main/default/lwc/editContactRecord/__tests__/editContactRecord.test.js +++ b/force-app/main/default/lwc/editContactRecord/__tests__/editContactRecord.test.js @@ -51,12 +51,12 @@ describe("c-edit-contact-record", () => { expect(form.objectApiName).toBe(OBJECT_API_NAME); const submitButton = element.shadowRoot.querySelector( - 'lightning-button[data-id="submit"]' + 'lightning-button[data-id="submit"]', ); expect(submitButton.type).toBe("submit"); const cancelButton = element.shadowRoot.querySelector( - 'lightning-button[data-id="cancel"]' + 'lightning-button[data-id="cancel"]', ); expect(cancelButton.type).toBe("button"); @@ -65,7 +65,7 @@ describe("c-edit-contact-record", () => { // get the input fields and ensure they are in the correct order const outputFieldNames = Array.from( - element.shadowRoot.querySelectorAll("lightning-input-field") + element.shadowRoot.querySelectorAll("lightning-input-field"), ).map((outputField) => outputField.fieldName); expect(outputFieldNames).toEqual(INPUT_FIELDS); @@ -73,7 +73,7 @@ describe("c-edit-contact-record", () => { // that is built after the @wire executes. return Promise.resolve().then(() => { const displayName = element.shadowRoot.querySelector( - 'lightning-layout-item[data-id="name"]' + 'lightning-layout-item[data-id="name"]', ); const mockedName = mockRecord.fields.Name.value; @@ -93,7 +93,7 @@ describe("c-edit-contact-record", () => { const backSpy = jest.spyOn(window.history, "back"); const cancelButton = element.shadowRoot.querySelector( - 'lightning-button[data-id="cancel"]' + 'lightning-button[data-id="cancel"]', ); cancelButton.click(); diff --git a/force-app/main/default/lwc/editOpportunityRecord/__tests__/editOpportunityRecord.test.js b/force-app/main/default/lwc/editOpportunityRecord/__tests__/editOpportunityRecord.test.js index 88e89d6..faaa1f4 100644 --- a/force-app/main/default/lwc/editOpportunityRecord/__tests__/editOpportunityRecord.test.js +++ b/force-app/main/default/lwc/editOpportunityRecord/__tests__/editOpportunityRecord.test.js @@ -49,12 +49,12 @@ describe("c-edit-opportunity-record", () => { expect(form.objectApiName).toBe(OBJECT_API_NAME); const submitButton = element.shadowRoot.querySelector( - 'lightning-button[data-id="submit"]' + 'lightning-button[data-id="submit"]', ); expect(submitButton.type).toBe("submit"); const cancelButton = element.shadowRoot.querySelector( - 'lightning-button[data-id="cancel"]' + 'lightning-button[data-id="cancel"]', ); expect(cancelButton.type).toBe("button"); @@ -63,7 +63,7 @@ describe("c-edit-opportunity-record", () => { // get the input fields and ensure they are in the correct order const outputFieldNames = Array.from( - element.shadowRoot.querySelectorAll("lightning-input-field") + element.shadowRoot.querySelectorAll("lightning-input-field"), ).map((outputField) => outputField.fieldName); expect(outputFieldNames).toEqual(INPUT_FIELDS); @@ -71,7 +71,7 @@ describe("c-edit-opportunity-record", () => { // that is built after the @wire executes. return Promise.resolve().then(() => { const displayName = element.shadowRoot.querySelector( - 'lightning-layout-item[data-id="name"]' + 'lightning-layout-item[data-id="name"]', ); const mockedName = mockRecord.fields.Name.value; @@ -91,7 +91,7 @@ describe("c-edit-opportunity-record", () => { const backSpy = jest.spyOn(window.history, "back"); const cancelButton = element.shadowRoot.querySelector( - 'lightning-button[data-id="cancel"]' + 'lightning-button[data-id="cancel"]', ); cancelButton.click();