diff --git a/tests/lib/rules/no-unused-prop-types.js b/tests/lib/rules/no-unused-prop-types.js
index 06278d2fe0..72bbc1e4f9 100644
--- a/tests/lib/rules/no-unused-prop-types.js
+++ b/tests/lib/rules/no-unused-prop-types.js
@@ -1319,7 +1319,7 @@ ruleTester.run('no-unused-prop-types', rule, {
code: [
'const PagingBlock = function(props) {',
' return (',
- ' ',
+ ' ',
' );',
'};',
@@ -1327,8 +1327,7 @@ ruleTester.run('no-unused-prop-types', rule, {
' nextPage: PropTypes.func.isRequired,',
' previousPage: PropTypes.func.isRequired,',
'};'
- ].join('\n'),
- parserOptions: Object.assign({}, parserOptions, {ecmaVersion: 2017})
+ ].join('\n')
}, {
code: [
'class Hello extends Component {',