Small camelCase conversion adjustments (#1537)

* Small camelCase conversion adjustments

* Remove unused exports

* Extract formatRuns
This commit is contained in:
Jaco
2022-06-16 16:07:45 +03:00
committed by GitHub
parent 6c1b0e7346
commit b774b7804b
5 changed files with 34 additions and 12 deletions
@@ -1,6 +1,7 @@
// Copyright 2017-2022 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { performance } from '../test/performance';
import { stringLowerFirst } from '.';
describe('stringLowerFirst', (): void => {
@@ -33,4 +34,6 @@ describe('stringLowerFirst', (): void => {
stringLowerFirst(null)
).toBe('');
});
performance('stringLowerFirst', 1_000_000, [['HelloWorldSomething']], stringLowerFirst);
});