Skip to content

Commit

Permalink
test: add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
chouchouji committed Jan 18, 2025
1 parent 984383e commit b4d43e3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/tests/rules/no-empty-fields.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ ruleTester.run("no-empty-fields", rule, {
{
code: `{
"name": "test",
"files": ["index.js", "test.js"],
"files": [
"index.js"
],
"peerDependencies": {}
}
`,
Expand All @@ -58,10 +60,9 @@ ruleTester.run("no-empty-fields", rule, {
],
output: `{
"name": "test",
"files": [
"index.js",
"test.js"
]
"files": [
"index.js"
]
}
`,
},
Expand Down

0 comments on commit b4d43e3

Please sign in to comment.