@minna-ui/jest-config
Version:
Jest config preset for use in Minna UI projects.
20 lines (18 loc) • 447 B
JavaScript
/**
* Shout text by making it upper case.
*
* @param {string} text - Text to transform to upper case.
* @returns {string} The input text in upper case.
*/
export function shout(text) {
return text.toUpperCase();
}
/**
* Whisper text by making it lower case.
*
* @param {string} text - Text to transform to lower case.
* @returns {string} The input text in lower case.
*/
export function whisper(text) {
return text.toLowerCase();
}