From f048f21defe196691bf1dec92dac41e28cd1a461 Mon Sep 17 00:00:00 2001 From: hardiknai-techm Date: Thu, 29 Apr 2021 08:46:59 +0530 Subject: [PATCH] resolve format issue --- .../__snapshots__/UploadItemsPane.test.tsx.snap | 4 +--- src/Explorer/Tabs/DocumentsTab.test.ts | 12 ++++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/Explorer/Panes/UploadItemsPane/__snapshots__/UploadItemsPane.test.tsx.snap b/src/Explorer/Panes/UploadItemsPane/__snapshots__/UploadItemsPane.test.tsx.snap index 522ea998c..8417b8705 100644 --- a/src/Explorer/Panes/UploadItemsPane/__snapshots__/UploadItemsPane.test.tsx.snap +++ b/src/Explorer/Panes/UploadItemsPane/__snapshots__/UploadItemsPane.test.tsx.snap @@ -516,9 +516,7 @@ exports[`Upload Items Pane should render Default properly 1`] = ` multiple={true} onUpload={[Function]} tabIndex={0} - tooltip="Select one or more JSON files to upload. Each file can contain a single JSON document or an array of JSON - documents. The combined size of all files in an individual upload operation must be less than 2 MB. You - can perform multiple upload operations for larger data sets." + tooltip="Select one or more JSON files to upload. Each file can contain a single JSON document or an array of JSON documents. The combined size of all files in an individual upload operation must be less than 2 MB. You can perform multiple upload operations for larger data sets." /> diff --git a/src/Explorer/Tabs/DocumentsTab.test.ts b/src/Explorer/Tabs/DocumentsTab.test.ts index 7ef4bcd68..6321a4afb 100644 --- a/src/Explorer/Tabs/DocumentsTab.test.ts +++ b/src/Explorer/Tabs/DocumentsTab.test.ts @@ -17,7 +17,7 @@ describe("Documents tab", () => { title: "", tabPath: "", hashLocation: "", - onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => { }, + onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => {}, }); expect(documentsTab.buildQuery("")).toContain("select"); @@ -93,7 +93,7 @@ describe("Documents tab", () => { title: "", tabPath: "", hashLocation: "", - onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => { }, + onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => {}, }); expect(documentsTab.showPartitionKey).toBe(false); @@ -108,7 +108,7 @@ describe("Documents tab", () => { title: "", tabPath: "", hashLocation: "", - onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => { }, + onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => {}, }); expect(documentsTab.showPartitionKey).toBe(false); @@ -123,7 +123,7 @@ describe("Documents tab", () => { title: "", tabPath: "", hashLocation: "", - onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => { }, + onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => {}, }); expect(documentsTab.showPartitionKey).toBe(true); @@ -141,7 +141,7 @@ describe("Documents tab", () => { title: "", tabPath: "", hashLocation: "", - onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => { }, + onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => {}, }); expect(documentsTab.showPartitionKey).toBe(false); @@ -156,7 +156,7 @@ describe("Documents tab", () => { title: "", tabPath: "", hashLocation: "", - onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => { }, + onUpdateTabsButtons: (buttons: CommandButtonComponentProps[]): void => {}, }); expect(documentsTab.showPartitionKey).toBe(true);