Skip to content

Commit 437fd29

Browse files
committed
Get rid of an unneeded coverage pragma
1 parent 1470b17 commit 437fd29

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

modules/PropTypes.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { PropTypes } from 'react'
33
const { func, object, arrayOf, oneOfType, element, shape, string } = PropTypes
44

55
export function falsy(props, propName, componentName) {
6-
/* istanbul ignore if: sanity check */
76
if (props[propName])
87
return new Error(`<${componentName}> should not have a "${propName}" prop`)
98
}

0 commit comments

Comments
 (0)