From 8ba46b0df919d4658d3672e4b6973aa873a1148c Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Thu, 7 Nov 2024 16:49:35 -0500 Subject: [PATCH] test: Add data into no-unsafe-values tests (#49) --- tests/rules/no-unsafe-values.test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/rules/no-unsafe-values.test.js b/tests/rules/no-unsafe-values.test.js index 4cc9426..8e82e37 100644 --- a/tests/rules/no-unsafe-values.test.js +++ b/tests/rules/no-unsafe-values.test.js @@ -78,6 +78,7 @@ ruleTester.run("no-unsafe-values", rule, { errors: [ { messageId: "loneSurrogate", + data: { surrogate: "\\ud83d" }, line: 1, column: 1, endLine: 1, @@ -90,6 +91,7 @@ ruleTester.run("no-unsafe-values", rule, { errors: [ { messageId: "loneSurrogate", + data: { surrogate: "\\udd25" }, line: 1, column: 1, endLine: 1, @@ -102,6 +104,7 @@ ruleTester.run("no-unsafe-values", rule, { errors: [ { messageId: "loneSurrogate", + data: { surrogate: "\\udd25" }, line: 1, column: 1, endLine: 1,