Fix test's warnings (#2697)

* tests: adding required props to FilterableTable mockedProps

* tests: adding required prop `height` to QuerySearch mockedProps

* tests: adding required prop `height` to ResultSet mockedProps

* tests: adding required prop `height` to SqlEditorLeftBar mockedProps

* tests: fix warning in Timer component
This commit is contained in:
Denny Biasiolli
2017-04-30 19:58:09 +02:00
committed by Maxime Beauchemin
parent a58adc862e
commit 3cd16cf368
5 changed files with 12 additions and 12 deletions

View File

@@ -14,10 +14,7 @@ describe('Timer', () => {
isRunning: true,
state: 'warning',
};
it('renders', () => {
expect(React.isValidElement(<Timer />)).to.equal(true);
});
it('renders with props', () => {
it('is valid', () => {
expect(React.isValidElement(<Timer {...mockedProps} />))
.to.equal(true);
});