diff --git a/tests/src/rules/no-unlocalized-strings.test.ts b/tests/src/rules/no-unlocalized-strings.test.ts index bc126f4..e944ae3 100644 --- a/tests/src/rules/no-unlocalized-strings.test.ts +++ b/tests/src/rules/no-unlocalized-strings.test.ts @@ -199,6 +199,7 @@ ruleTester.run(name, rule, { options: [{ ignoreNames: ['displayName'] }], }, { + name: 'Respect the name of the parameter when a default is applied', code: 'function Input({ intent = "none"}) {}', options: [{ ignoreNames: ['intent'] }], },