diff --git a/packages/eslint-plugin/tests/rules/require-input-label.test.js b/packages/eslint-plugin/tests/rules/require-input-label.test.js
index 989bdb0..50d9009 100644
--- a/packages/eslint-plugin/tests/rules/require-input-label.test.js
+++ b/packages/eslint-plugin/tests/rules/require-input-label.test.js
@@ -2,6 +2,7 @@ const createRuleTester = require("../rule-tester");
const rule = require("../../lib/rules/require-input-label");
const ruleTester = createRuleTester();
+const templateRuleTester = createRuleTester("espree");
ruleTester.run("require-input-label", rule, {
valid: [
@@ -51,3 +52,21 @@ ruleTester.run("require-input-label", rule, {
},
],
});
+
+templateRuleTester.run("[template] require-input-label", rule, {
+ valid: [
+ {
+ code: `html\`\``,
+ },
+ ],
+ invalid: [
+ {
+ code: `html\`\``,
+ errors: [
+ {
+ messageId: "missingLabel",
+ },
+ ],
+ },
+ ],
+});