From c3a24d50ae9bb7db17ce6fc28dbceac0ba027146 Mon Sep 17 00:00:00 2001 From: Fabian Date: Tue, 30 Jan 2018 10:48:30 +0100 Subject: [PATCH 1/3] ignore vscode files --- .gitignore | 2 +- .vscode/launch.json | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index e9c8aafc8f..dc4aa58878 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,4 @@ npm-debug.log npm-debug.log.* thumbs.db !.gitkeep -.vscode \ No newline at end of file +.vscode/* \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index d8a451afbb..0000000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - // Verwendet IntelliSense zum Ermitteln möglicher Attribute. - // Zeigen Sie auf vorhandene Attribute, um die zugehörigen Beschreibungen anzuzeigen. - // Weitere Informationen finden Sie unter https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "type": "node", - "request": "launch", - "name": "Jest Tests", - "program": "${workspaceRoot}\\node_modules\\jest\\bin\\jest.js", - "args": [ - "-i" - ], - "internalConsoleOptions": "openOnSessionStart" - } - ] -} \ No newline at end of file From d28c338fcaa4449a7b4db9dcd783dac9d81a47a4 Mon Sep 17 00:00:00 2001 From: Fabian Date: Tue, 30 Jan 2018 10:49:02 +0100 Subject: [PATCH 2/3] fix PageBalances tests --- test/unit/specs/components/wallet/PageBalances.spec.js | 4 +++- .../components/wallet/__snapshots__/PageBalances.spec.js.snap | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/test/unit/specs/components/wallet/PageBalances.spec.js b/test/unit/specs/components/wallet/PageBalances.spec.js index 1c772b108e..495308a62e 100644 --- a/test/unit/specs/components/wallet/PageBalances.spec.js +++ b/test/unit/specs/components/wallet/PageBalances.spec.js @@ -14,7 +14,9 @@ describe('PageBalances', () => { wrapper = instance.wrapper store = instance.store - store.commit('setWalletKey', '123abc456def') + store.commit('setWalletKey', { + address: '123abc456def' + }) store.commit('setWalletBalances', [{ denom: 'ATOM', amount: 123 diff --git a/test/unit/specs/components/wallet/__snapshots__/PageBalances.spec.js.snap b/test/unit/specs/components/wallet/__snapshots__/PageBalances.spec.js.snap index 3ae49b9b22..59b125be94 100644 --- a/test/unit/specs/components/wallet/__snapshots__/PageBalances.spec.js.snap +++ b/test/unit/specs/components/wallet/__snapshots__/PageBalances.spec.js.snap @@ -120,7 +120,7 @@ exports[`PageBalances has the expected html structure 1`] = `
- + 123abc456def