We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92a81a2 commit 9befd92Copy full SHA for 9befd92
String/test/CheckKebabCase.test.js
@@ -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
12
+ expect(res).toBeFalsy()
13
0 commit comments