Skip to content

Commit

Permalink
feat: use messageId in tests (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic authored May 23, 2024
1 parent cf7d755 commit c53fbc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rule/templates/_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ ruleTester.run("<%= ruleId %>", rule, {
invalid: [
{
code: "<%- invalidCode.replace(/"/g, '\\"') %>",
errors: [{ message: "Fill me in.", type: "Me too" }],
errors: [{ messageId: "Fill me in.", type: "Me too" }],
},
],
});

0 comments on commit c53fbc6

Please sign in to comment.