Remove test for removed code (#7461)

This commit is contained in:
Jaco Greeff 2018-01-04 18:04:59 +01:00 committed by GitHub
parent 37796bdaa9
commit ac95bfa285
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,6 @@
import { shallow } from 'enzyme'; import { shallow } from 'enzyme';
import React from 'react'; import React from 'react';
import sinon from 'sinon';
import Tab from './'; import Tab from './';
@ -58,20 +57,5 @@ describe('views/Application/TabBar/Tab', () => {
).to.equal('<FormattedMessage />testBubble'); ).to.equal('<FormattedMessage />testBubble');
}); });
}); });
describe('renderSignerLabel', () => {
beforeEach(() => {
sinon.stub(instance, 'renderLabel');
});
afterEach(() => {
instance.renderLabel.restore();
});
it('calls renderLabel with the details', () => {
instance.renderSignerLabel();
expect(instance.renderLabel).to.have.been.calledWith('signer');
});
});
}); });
}); });