Skip to content

Instantly share code, notes, and snippets.

@eliihen
Last active May 10, 2018 12:53
Show Gist options
  • Save eliihen/2c623011175e1c6a7872f8a992d774ac to your computer and use it in GitHub Desktop.
Save eliihen/2c623011175e1c6a7872f8a992d774ac to your computer and use it in GitHub Desktop.
Adding prop-type error script to package.json
{
"jest": {
"setupFiles": [
"<rootDir>/scripts/throw-on-prop-type-error.js"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment