mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-09 06:30:40 +08:00
refactor: avoid promise overhead (#8028)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const utils = require('../../lib/utils/common-utils');
|
||||
|
||||
describe('common-utils', () => {
|
||||
it('toTitleCase', async () => {
|
||||
it('toTitleCase', () => {
|
||||
expect(utils.toTitleCase('RSSHub IS AS aweSOme aS henry')).toBe('Rsshub Is As Awesome As Henry');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user