Skip to content

Commit

Permalink
--wip-- [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed Mar 29, 2023
1 parent 2f637f2 commit b9e5ce0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/lib/rules/no-unsupported-features/es-syntax.js
Expand Up @@ -2663,6 +2663,7 @@ ruleTester.run(
{
filename: fixture("invalid/a.js"),
code: "var a = { ...obj }",
options: [{version: '>=8.0.0'}],
errors: [
{
messageId: "no-rest-spread-properties",
Expand All @@ -2683,6 +2684,7 @@ ruleTester.run(
{
filename: fixture("nothing/a.js"),
code: "var a = { ...obj }",
options: [{version: '>=8.0.0'}],
errors: [
{
messageId: "no-rest-spread-properties",
Expand Down

0 comments on commit b9e5ce0

Please sign in to comment.