From bed5f011075faf1343ffa96f63be7b1828c9ee92 Mon Sep 17 00:00:00 2001 From: Court Ewing Date: Thu, 23 Mar 2017 10:52:37 -0400 Subject: [PATCH] lint: fix unused vars linting errors (#10870) These were either missed during backport or slipped in after merging the backport PR. --- .../metrics/public/components/__tests__/add_delete_buttons.js | 1 - src/core_plugins/metrics/public/lib/__tests__/add_scope.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core_plugins/metrics/public/components/__tests__/add_delete_buttons.js b/src/core_plugins/metrics/public/components/__tests__/add_delete_buttons.js index 0c1b9d20c56f0..3dda1f2ecb323 100644 --- a/src/core_plugins/metrics/public/components/__tests__/add_delete_buttons.js +++ b/src/core_plugins/metrics/public/components/__tests__/add_delete_buttons.js @@ -3,7 +3,6 @@ import { expect } from 'chai'; import { shallow } from 'enzyme'; import sinon from 'sinon'; import AddDeleteButtons from '../add_delete_buttons'; -import Tooltip from '../tooltip'; describe('', () => { diff --git a/src/core_plugins/metrics/public/lib/__tests__/add_scope.js b/src/core_plugins/metrics/public/lib/__tests__/add_scope.js index cc55e96845d89..c2728ce598c0a 100644 --- a/src/core_plugins/metrics/public/lib/__tests__/add_scope.js +++ b/src/core_plugins/metrics/public/lib/__tests__/add_scope.js @@ -35,7 +35,7 @@ describe('addScope()', () => { it('calls $scope.$watchCollection on each scoped item', () => { const WrappedComponent = addScope(Component, $scope, ['testOne', 'testTwo']); - const wrapper = shallow(); + shallow(); expect(watchCollectionStub.calledTwice).to.equal(true); expect(watchCollectionStub.firstCall.args[0]).to.equal('testOne'); expect(watchCollectionStub.secondCall.args[0]).to.equal('testTwo');