Skip to content

Commit ee7501c

Browse files
committed
set ecmaVersion in tests
1 parent f46c739 commit ee7501c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/no-implicit-buggy-globals.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ ruleTester.run('no-implicit-buggy-globals', rule, {
1818
},
1919
{
2020
code: 'var foo = 1;',
21-
parserOptions: {sourceType: 'module'}
21+
parserOptions: {sourceType: 'module', ecmaVersion: 2015}
2222
},
2323
{
2424
code: 'let foo = 1;',
25-
parserOptions: {sourceType: 'module'}
25+
parserOptions: {sourceType: 'module', ecmaVersion: 2015}
2626
},
2727
{
2828
code: 'const foo = 1;',
29-
parserOptions: {sourceType: 'module'}
29+
parserOptions: {sourceType: 'module', ecmaVersion: 2015}
3030
}
3131
],
3232
invalid: [

0 commit comments

Comments
 (0)