fix: clean up prop type errors in jest tests (#11120)

This commit is contained in:
Elizabeth Thompson
2020-10-02 14:59:04 -07:00
committed by GitHub
parent 662fb43350
commit d95b7c2a73
12 changed files with 55 additions and 14 deletions

View File

@@ -29,6 +29,7 @@ describe('QuerySearch', () => {
const mockedProps = {
actions: {},
height: 0,
displayLimit: 50,
};
it('is valid', () => {
expect(React.isValidElement(<QuerySearch {...mockedProps} />)).toBe(true);