* removed rewire. now using babel-rewire instead * implemented more tests * changed some eslint params * linting * linting * coverage on getChant Co-authored-by: Marcus Netz <marcus.netz@godyo.com>
6 lines
131 B
JavaScript
6 lines
131 B
JavaScript
const Capitalize = (Word = 'none') => {
|
|
return Word[0].toUpperCase() + Word.substring(1);
|
|
};
|
|
|
|
module.exports = { Capitalize };
|