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