Remove test for removed code (#7461)
This commit is contained in:
parent
37796bdaa9
commit
ac95bfa285
@ -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');
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user