(language: keyof typeof languages)
| 6 | * with a lot of non-url safe characters, defaults to English. |
| 7 | */ |
| 8 | export function getFunFlowchartName(language: keyof typeof languages) { |
| 9 | const noun = getNoun(language); |
| 10 | const firstLetter = noun[0].toUpperCase(); |
| 11 | const adjective = getAdjective(language, firstLetter); |
| 12 | const digits = getRandomDigits(); |
| 13 | return `${adjective} ${noun} ${digits}`; |
| 14 | } |
| 15 | |
| 16 | /** |
| 17 | * Return 3 random digits. Don't include 0. ex: 123, 999, 321 |
no test coverage detected