| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 92a81a2 commit 9befd92
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,13 @@ | |||
| 1 | + import { CheckKebabCase } from '../CheckKebabCase' | ||
| 2 | + | ||
| 3 | + test('CheckKebabCase(The-Algorithms) -> true', () => { | ||
| 4 | + const word = 'The-Algorithms' | ||
| 5 | + const res = CheckKebabCase(word) | ||
| 6 | + expect(res).toBeTruthy() | ||
| 7 | + }) | ||
| 8 | + | ||
| 9 | + test('CheckKebabCase(The Algorithms) -> false', () => { | ||
| 10 | + const word = 'The Algorithms' | ||
| 11 | + const res = CheckKebabCase(word) | ||
| 12 | + expect(res).toBeFalsy() | ||
| 13 | + }) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments