From 5f6f36640587e1bff19963c943824f7c5d854d19 Mon Sep 17 00:00:00 2001 From: Maxwell Lasky Date: Sat, 11 Apr 2020 22:55:28 -0600 Subject: [PATCH] updates snapshots --- .../NetworkConfigurationTooltip.test.js.snap | 6 +++ .../__snapshots__/NetworkSwitch.test.js.snap | 5 +++ .../__snapshots__/News.test.js.snap | 3 ++ .../__snapshots__/Settings.test.js.snap | 43 +++++++++++-------- .../__snapshots__/Sidebar.test.js.snap | 3 ++ 5 files changed, 43 insertions(+), 17 deletions(-) diff --git a/__tests__/components/__snapshots__/NetworkConfigurationTooltip.test.js.snap b/__tests__/components/__snapshots__/NetworkConfigurationTooltip.test.js.snap index f34984f89..bdcc93d26 100644 --- a/__tests__/components/__snapshots__/NetworkConfigurationTooltip.test.js.snap +++ b/__tests__/components/__snapshots__/NetworkConfigurationTooltip.test.js.snap @@ -115,6 +115,7 @@ exports[`Sidebar renders without crashing 1`] = ` "inputEncryptedPlaceholder": "Encrypted Key", "inputPasswordPlaceholder": "Password", "inputSelectPlaceholder": "Select", + "isLoadingMessage": "Loading...", "manageWalletsCreate": "Create", "manageWalletsEdit": "Edit", "manageWalletsEditWallet": "Edit Wallet", @@ -139,11 +140,13 @@ exports[`Sidebar renders without crashing 1`] = ` "networkSettingsNodeSelectLabel": "NODE SELECTION", "newContact": "New Contact", "newsPageLabel": "News", + "noOptionsMessage": "No options", "nodeSelectBlockHeight": "Block Height", "nodeSelectInfo": "Top {nodeCount, number} nodes listed", "nodeSelectPanelHeader": "Node Selection", "nodeSelectSelectAutomatically": "Select automatically", "nodeSelectionInstructions": "If you’re experiencing performance issues, try selecting a custom node below", + "nothingToSeeHere": "Nothing to see here!", "numberofTransactionsPending": "{transferCount, number} {transferCount, plural, one {Transfer} other {Transfers}} pending", "print": "Print", "priorityTransfer": "Priority Transfer", @@ -717,6 +720,7 @@ exports[`Sidebar renders without crashing 1`] = ` "inputEncryptedPlaceholder": "Encrypted Key", "inputPasswordPlaceholder": "Password", "inputSelectPlaceholder": "Select", + "isLoadingMessage": "Loading...", "manageWalletsCreate": "Create", "manageWalletsEdit": "Edit", "manageWalletsEditWallet": "Edit Wallet", @@ -741,11 +745,13 @@ exports[`Sidebar renders without crashing 1`] = ` "networkSettingsNodeSelectLabel": "NODE SELECTION", "newContact": "New Contact", "newsPageLabel": "News", + "noOptionsMessage": "No options", "nodeSelectBlockHeight": "Block Height", "nodeSelectInfo": "Top {nodeCount, number} nodes listed", "nodeSelectPanelHeader": "Node Selection", "nodeSelectSelectAutomatically": "Select automatically", "nodeSelectionInstructions": "If you’re experiencing performance issues, try selecting a custom node below", + "nothingToSeeHere": "Nothing to see here!", "numberofTransactionsPending": "{transferCount, number} {transferCount, plural, one {Transfer} other {Transfers}} pending", "print": "Print", "priorityTransfer": "Priority Transfer", diff --git a/__tests__/components/__snapshots__/NetworkSwitch.test.js.snap b/__tests__/components/__snapshots__/NetworkSwitch.test.js.snap index e831e9c11..73779519c 100644 --- a/__tests__/components/__snapshots__/NetworkSwitch.test.js.snap +++ b/__tests__/components/__snapshots__/NetworkSwitch.test.js.snap @@ -94,6 +94,7 @@ exports[`NetworkSwitch renders without crashing 1`] = ` "inputEncryptedPlaceholder": "Encrypted Key", "inputPasswordPlaceholder": "Password", "inputSelectPlaceholder": "Select", + "isLoadingMessage": "Loading...", "manageWalletsCreate": "Create", "manageWalletsEdit": "Edit", "manageWalletsEditWallet": "Edit Wallet", @@ -118,11 +119,13 @@ exports[`NetworkSwitch renders without crashing 1`] = ` "networkSettingsNodeSelectLabel": "NODE SELECTION", "newContact": "New Contact", "newsPageLabel": "News", + "noOptionsMessage": "No options", "nodeSelectBlockHeight": "Block Height", "nodeSelectInfo": "Top {nodeCount, number} nodes listed", "nodeSelectPanelHeader": "Node Selection", "nodeSelectSelectAutomatically": "Select automatically", "nodeSelectionInstructions": "If you’re experiencing performance issues, try selecting a custom node below", + "nothingToSeeHere": "Nothing to see here!", "numberofTransactionsPending": "{transferCount, number} {transferCount, plural, one {Transfer} other {Transfers}} pending", "print": "Print", "priorityTransfer": "Priority Transfer", @@ -310,7 +313,9 @@ exports[`NetworkSwitch renders without crashing 1`] = ` defaultValue={null} hideHighlight={true} isSearchable={false} + loadingMessage={[Function]} maxMenuHeight={140} + noOptionsMessage={[Function]} onChange={[Function]} options={ Array [ diff --git a/__tests__/components/__snapshots__/News.test.js.snap b/__tests__/components/__snapshots__/News.test.js.snap index 12453b7df..978df5846 100644 --- a/__tests__/components/__snapshots__/News.test.js.snap +++ b/__tests__/components/__snapshots__/News.test.js.snap @@ -112,6 +112,7 @@ exports[`News renders without crashing 1`] = ` "inputEncryptedPlaceholder": "Encrypted Key", "inputPasswordPlaceholder": "Password", "inputSelectPlaceholder": "Select", + "isLoadingMessage": "Loading...", "manageWalletsCreate": "Create", "manageWalletsEdit": "Edit", "manageWalletsEditWallet": "Edit Wallet", @@ -136,11 +137,13 @@ exports[`News renders without crashing 1`] = ` "networkSettingsNodeSelectLabel": "NODE SELECTION", "newContact": "New Contact", "newsPageLabel": "News", + "noOptionsMessage": "No options", "nodeSelectBlockHeight": "Block Height", "nodeSelectInfo": "Top {nodeCount, number} nodes listed", "nodeSelectPanelHeader": "Node Selection", "nodeSelectSelectAutomatically": "Select automatically", "nodeSelectionInstructions": "If you’re experiencing performance issues, try selecting a custom node below", + "nothingToSeeHere": "Nothing to see here!", "numberofTransactionsPending": "{transferCount, number} {transferCount, plural, one {Transfer} other {Transfers}} pending", "print": "Print", "priorityTransfer": "Priority Transfer", diff --git a/__tests__/components/__snapshots__/Settings.test.js.snap b/__tests__/components/__snapshots__/Settings.test.js.snap index 250d263f9..3c3af44b7 100644 --- a/__tests__/components/__snapshots__/Settings.test.js.snap +++ b/__tests__/components/__snapshots__/Settings.test.js.snap @@ -112,6 +112,7 @@ exports[`Settings renders without crashing 1`] = ` "inputEncryptedPlaceholder": "Encrypted Key", "inputPasswordPlaceholder": "Password", "inputSelectPlaceholder": "Select", + "isLoadingMessage": "Loading...", "manageWalletsCreate": "Create", "manageWalletsEdit": "Edit", "manageWalletsEditWallet": "Edit Wallet", @@ -136,11 +137,13 @@ exports[`Settings renders without crashing 1`] = ` "networkSettingsNodeSelectLabel": "NODE SELECTION", "newContact": "New Contact", "newsPageLabel": "News", + "noOptionsMessage": "No options", "nodeSelectBlockHeight": "Block Height", "nodeSelectInfo": "Top {nodeCount, number} nodes listed", "nodeSelectPanelHeader": "Node Selection", "nodeSelectSelectAutomatically": "Select automatically", "nodeSelectionInstructions": "If you’re experiencing performance issues, try selecting a custom node below", + "nothingToSeeHere": "Nothing to see here!", "numberofTransactionsPending": "{transferCount, number} {transferCount, plural, one {Transfer} other {Transfers}} pending", "print": "Print", "priorityTransfer": "Priority Transfer", @@ -1601,7 +1604,9 @@ exports[`Settings renders without crashing 1`] = ` defaultMenuIsOpen={false} defaultValue={null} isSearchable={false} + loadingMessage={[Function]} maxMenuHeight={140} + noOptionsMessage={[Function]} onChange={[Function]} options={ Array [ @@ -4488,7 +4493,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -4546,7 +4551,9 @@ exports[`Settings renders without crashing 1`] = ` defaultValue={null} formatOptionLabel={[Function]} isSearchable={false} + loadingMessage={[Function]} maxMenuHeight={140} + noOptionsMessage={[Function]} onChange={[Function]} options={ Array [ @@ -4566,7 +4573,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -4683,7 +4690,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -4780,7 +4787,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -4876,7 +4883,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -4975,7 +4982,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -5071,7 +5078,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -5163,7 +5170,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -5259,7 +5266,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -5356,7 +5363,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -5452,7 +5459,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -5580,7 +5587,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -5676,7 +5683,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -5767,7 +5774,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -5863,7 +5870,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -5962,7 +5969,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -6058,7 +6065,7 @@ exports[`Settings renders without crashing 1`] = ` "value": "FRENCH", }, Object { - "label": "Deutsche", + "label": "Deutsch", "renderFlag": [Function], "value": "GERMAN", }, @@ -6220,7 +6227,9 @@ exports[`Settings renders without crashing 1`] = ` defaultMenuIsOpen={false} defaultValue={null} isSearchable={false} + loadingMessage={[Function]} maxMenuHeight={140} + noOptionsMessage={[Function]} onChange={[Function]} options={ Array [ diff --git a/__tests__/components/__snapshots__/Sidebar.test.js.snap b/__tests__/components/__snapshots__/Sidebar.test.js.snap index 3f1ccccda..b60833bad 100644 --- a/__tests__/components/__snapshots__/Sidebar.test.js.snap +++ b/__tests__/components/__snapshots__/Sidebar.test.js.snap @@ -112,6 +112,7 @@ exports[`Sidebar renders without crashing 1`] = ` "inputEncryptedPlaceholder": "Encrypted Key", "inputPasswordPlaceholder": "Password", "inputSelectPlaceholder": "Select", + "isLoadingMessage": "Loading...", "manageWalletsCreate": "Create", "manageWalletsEdit": "Edit", "manageWalletsEditWallet": "Edit Wallet", @@ -136,11 +137,13 @@ exports[`Sidebar renders without crashing 1`] = ` "networkSettingsNodeSelectLabel": "NODE SELECTION", "newContact": "New Contact", "newsPageLabel": "News", + "noOptionsMessage": "No options", "nodeSelectBlockHeight": "Block Height", "nodeSelectInfo": "Top {nodeCount, number} nodes listed", "nodeSelectPanelHeader": "Node Selection", "nodeSelectSelectAutomatically": "Select automatically", "nodeSelectionInstructions": "If you’re experiencing performance issues, try selecting a custom node below", + "nothingToSeeHere": "Nothing to see here!", "numberofTransactionsPending": "{transferCount, number} {transferCount, plural, one {Transfer} other {Transfers}} pending", "print": "Print", "priorityTransfer": "Priority Transfer",