Skip to content

Commit

Permalink
feat: add missing language representation (#4427)
Browse files Browse the repository at this point in the history
* feat: add missing language representation

fix: hebrew

* fix: test
  • Loading branch information
michelkaporin committed Feb 22, 2023
1 parent ce66b3f commit 9ff88d2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/cli/commands/woof/getWoof.ts
Expand Up @@ -2,11 +2,12 @@ import { MethodArgs, ArgsOptions } from '../../args';

const woofs = {
en: 'Woof!',
he: ' !הב ',
he: ' בה! ',
ru: ' Гав!',
es: 'Guau!',
cs: ' Haf!',
uk: ' Гав!',
de: 'Wuff!',
};

export default function getWoof(args: MethodArgs): string {
Expand Down
2 changes: 1 addition & 1 deletion test/jest/unit/woof.spec.ts
Expand Up @@ -13,7 +13,7 @@ describe('Woof command - Language option', () => {
language: 'he',
} as any,
]),
).toEqual(' !הב ');
).toEqual(' בה! ');
});

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

0 comments on commit 9ff88d2

Please sign in to comment.