Skip to content

Commit bc71b0e

Browse files
committed
✅ test(rule): add more test to no-missing-key rule
1 parent c27dd2e commit bc71b0e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/lib/rules/no-missing-key.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ tester.run('no-missing-key', rule, {
4242
settings,
4343
code: `$t('hello {name}')`
4444
}, {
45-
// Identifier
45+
// instance member
46+
settings,
47+
code: `i18n.t('hello {name}')`
48+
}, {
49+
// identifier
4650
settings,
4751
code: `$t(key)`
4852
}, {

0 commit comments

Comments
 (0)