Skip to content

Commit 9ff88d2

Browse files
feat: add missing language representation (#4427)
* feat: add missing language representation fix: hebrew * fix: test
1 parent ce66b3f commit 9ff88d2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/cli/commands/woof/getWoof.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ import { MethodArgs, ArgsOptions } from '../../args';
22

33
const woofs = {
44
en: 'Woof!',
5-
he: ' !הב ',
5+
he: ' בה! ',
66
ru: ' Гав!',
77
es: 'Guau!',
88
cs: ' Haf!',
99
uk: ' Гав!',
10+
de: 'Wuff!',
1011
};
1112

1213
export default function getWoof(args: MethodArgs): string {

test/jest/unit/woof.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ describe('Woof command - Language option', () => {
1313
language: 'he',
1414
} as any,
1515
]),
16-
).toEqual(' !הב ');
16+
).toEqual(' בה! ');
1717
});
1818

1919
it('Returns default when selected language is invalid', () => {

0 commit comments

Comments
 (0)