We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6b5723 commit ae8e544Copy full SHA for ae8e544
1 file changed
lib/i18n/badgeLabels.test.ts
@@ -70,4 +70,16 @@ describe('getLabels', () => {
70
}
71
});
72
73
+
74
+ describe('monthly view keys', () => {
75
+ it.each(Object.keys(labels))('locale %s has a non-empty COMMITS_THIS_MONTH', (lang) => {
76
+ const locale = getLabels(lang);
77
+ expect(locale.COMMITS_THIS_MONTH).toEqual(expect.stringMatching(/\S/));
78
+ });
79
80
+ it.each(Object.keys(labels))('locale %s has a non-empty VS_LAST_MONTH', (lang) => {
81
82
+ expect(locale.VS_LAST_MONTH).toEqual(expect.stringMatching(/\S/));
83
84
85
0 commit comments