mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
feat: title case following The Chicago Manual of Style (#14048)
This commit is contained in:
@@ -2,7 +2,7 @@ const utils = require('../../lib/utils/common-utils');
|
||||
|
||||
describe('common-utils', () => {
|
||||
it('toTitleCase', () => {
|
||||
expect(utils.toTitleCase('RSSHub IS AS aweSOme aS henry')).toBe('Rsshub Is As Awesome As Henry');
|
||||
expect(utils.toTitleCase('RSSHub IS AS aweSOme aS henry')).toBe('Rsshub Is as Awesome as Henry');
|
||||
});
|
||||
|
||||
it('convertDateToISO8601', () => {
|
||||
|
||||
Reference in New Issue
Block a user