mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-06 13:08:14 +08:00
feat: add common-utils (#2374)
This commit is contained in:
7
test/utils/common-utils.js
Normal file
7
test/utils/common-utils.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const utils = require('../../lib/utils/common-utils');
|
||||
|
||||
describe('common-utils', () => {
|
||||
it('toTitleCase', async () => {
|
||||
expect(utils.toTitleCase('RSSHub IS AS aweSOme aS henry')).toBe('Rsshub Is As Awesome As Henry');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user