From f7412d4a1d47cf63d5684e10b5260bc39ea8d30e Mon Sep 17 00:00:00 2001 From: Maciej Kaczorowski Date: Tue, 28 Jul 2020 14:02:12 +0200 Subject: [PATCH] bugfix(core): clean code --- .../components/ToolBar/__tests__/ToolBarButton.test.js | 2 +- .../__tests__/__snapshots__/NavigationBar.test.js.snap | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 modules/@ergonode/core/src/components/ToolBar/__tests__/__snapshots__/NavigationBar.test.js.snap diff --git a/modules/@ergonode/core/src/components/ToolBar/__tests__/ToolBarButton.test.js b/modules/@ergonode/core/src/components/ToolBar/__tests__/ToolBarButton.test.js index 0e0074ef9..52f27185c 100644 --- a/modules/@ergonode/core/src/components/ToolBar/__tests__/ToolBarButton.test.js +++ b/modules/@ergonode/core/src/components/ToolBar/__tests__/ToolBarButton.test.js @@ -24,6 +24,6 @@ describe('ToolBar/ToolBarButton', () => { it('Check if button is selected', () => { expect(wrapper.vm.isSelected).toBeTruthy(); - expect(wrapper.vm.$el.classList.contains('bar-button--selected')).toBeTruthy(); + expect(wrapper.vm.$el.classList.contains('tool-bar-button--selected')).toBeTruthy(); }); }); diff --git a/modules/@ergonode/core/src/components/ToolBar/__tests__/__snapshots__/NavigationBar.test.js.snap b/modules/@ergonode/core/src/components/ToolBar/__tests__/__snapshots__/NavigationBar.test.js.snap deleted file mode 100644 index 38a99bf15..000000000 --- a/modules/@ergonode/core/src/components/ToolBar/__tests__/__snapshots__/NavigationBar.test.js.snap +++ /dev/null @@ -1,8 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ToolBar Has no items 1`] = ` - -`;