Skip to content

Commit 95b8164

Browse files
committed
Fix: version number for tests.
1 parent 8e0c033 commit 95b8164

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/lib/rules/no-unsupported-features.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function convertPattern(retv, pattern) {
5454
env: {es6: true},
5555
options: [version],
5656
parserOptions: {
57-
ecmaVersion: 2017,
57+
ecmaVersion: 8,
5858
sourceType: pattern.modules ? "module" : "script",
5959
},
6060
})
@@ -67,7 +67,7 @@ function convertPattern(retv, pattern) {
6767
env: {es6: true},
6868
options: [{version: version, ignores: [key]}],
6969
parserOptions: {
70-
ecmaVersion: 2017,
70+
ecmaVersion: 8,
7171
sourceType: pattern.modules ? "module" : "script",
7272
},
7373
}
@@ -79,7 +79,7 @@ function convertPattern(retv, pattern) {
7979
env: {es6: true},
8080
options: [version],
8181
parserOptions: {
82-
ecmaVersion: 2017,
82+
ecmaVersion: 8,
8383
sourceType: pattern.modules ? "module" : "script",
8484
},
8585
errors: errors.map(function(message) {

0 commit comments

Comments
 (0)