feat: title case following The Chicago Manual of Style (#14048)

This commit is contained in:
Tony
2023-12-15 22:37:12 +08:00
committed by GitHub
parent fac29ed93b
commit a1644ac4ca
4 changed files with 142 additions and 10 deletions
+1 -1
View File
@@ -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', () => {