diff --git a/String/test/CheckKebabCase.test.js b/String/test/CheckKebabCase.test.js new file mode 100644 index 0000000000..c275c7bdea --- /dev/null +++ b/String/test/CheckKebabCase.test.js @@ -0,0 +1,13 @@ +import { CheckKebabCase } from '../CheckKebabCase' + +test('CheckKebabCase(The-Algorithms) -> true', () => { + const word = 'The-Algorithms' + const res = CheckKebabCase(word) + expect(res).toBeTruthy() +}) + +test('CheckKebabCase(The Algorithms) -> false', () => { + const word = 'The Algorithms' + const res = CheckKebabCase(word) + expect(res).toBeFalsy() +})
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: