Skip to content

Commit

Permalink
Add missing ecmaVersion in test case
Browse files Browse the repository at this point in the history
  • Loading branch information
lo1tuma committed Jul 8, 2019
1 parent c9eb7f2 commit 96b99c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/rules/no-global-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ ruleTester.run('no-global-tests', rule, {
{
code: 'import foo from "bar"; it("");',
parserOptions: {
sourceType: 'module'
sourceType: 'module',
ecmaVersion: 2015
},
errors: [ { message: expectedErrorMessage, column: 24, line: 1 } ]
}
Expand Down

0 comments on commit 96b99c9

Please sign in to comment.