Skip to content

Commit

Permalink
Chore: add a test for #109
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Feb 23, 2018
1 parent 234703c commit 9ccc91d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
@@ -0,0 +1,7 @@
{
"private": true,
"name": "test",
"engines": {
"vscode": "foo"
}
}
5 changes: 5 additions & 0 deletions tests/lib/rules/no-unsupported-features.js
Expand Up @@ -1283,6 +1283,11 @@ ruleTester.run("no-unsupported-features", rule, [
parserOptions: { ecmaVersion: 2017 },
options: ["7.10.0"],
},
{
filename: fixture("without-node/a.js"),
code: "var a = () => 1",
env: { es6: true },
},
],
invalid: [
{
Expand Down

0 comments on commit 9ccc91d

Please sign in to comment.