From c53fbc65307126a00e6955bf403d3d37d1e2c138 Mon Sep 17 00:00:00 2001 From: Milos Djermanovic Date: Thu, 23 May 2024 15:50:24 +0200 Subject: [PATCH] feat: use `messageId` in tests (#189) --- rule/templates/_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/templates/_test.js b/rule/templates/_test.js index 365ef65..1b8db45 100644 --- a/rule/templates/_test.js +++ b/rule/templates/_test.js @@ -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" }], }, ], });