Adjust camelCase with simplified version (#1230)

* Adjust camelCase with simplified version

* Adjust count

* Adjust

* readability

* Ascii-only

* single-line callbacks

* CHANGELOG

* Dedupe string{Lower, Upper}First

* replacer -> fn
This commit is contained in:
Jaco
2021-11-22 16:12:29 +02:00
committed by GitHub
parent b390714285
commit 391ab49b8f
21 changed files with 187 additions and 102 deletions
@@ -3,7 +3,7 @@
import { waitReady } from '@polkadot/wasm-crypto';
import { performanceTest } from '../../test/performance';
import { performanceWasm } from '../../test/performance';
import { DEFAULT_PARAMS } from './defaults';
import { scryptEncode } from '.';
@@ -30,7 +30,7 @@ describe('scryptEncode', (): void => {
});
});
performanceTest('scryptEncode', 2, (input, onlyJs) =>
performanceWasm('scryptEncode', 2, (input, onlyJs) =>
scryptEncode(input, input, undefined, onlyJs)
);
});