Skip to content

Commit

Permalink
lint: fix unused vars linting errors (#10870)
Browse files Browse the repository at this point in the history
These were either missed during backport or slipped in after merging the
backport PR.
  • Loading branch information
epixa authored Mar 23, 2017
1 parent 925b2c2 commit bed5f01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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('<AddDeleteButtons />', () => {

Expand Down
2 changes: 1 addition & 1 deletion src/core_plugins/metrics/public/lib/__tests__/add_scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('addScope()', () => {

it('calls $scope.$watchCollection on each scoped item', () => {
const WrappedComponent = addScope(Component, $scope, ['testOne', 'testTwo']);
const wrapper = shallow(<WrappedComponent/>);
shallow(<WrappedComponent/>);
expect(watchCollectionStub.calledTwice).to.equal(true);
expect(watchCollectionStub.firstCall.args[0]).to.equal('testOne');
expect(watchCollectionStub.secondCall.args[0]).to.equal('testTwo');
Expand Down

0 comments on commit bed5f01

Please sign in to comment.