wip: code formatting nits

This commit is contained in:
jdalton
2023-09-16 16:18:43 -07:00
parent 97d4a2fe19
commit 0b28b7f7b6
107 changed files with 166 additions and 164 deletions

View File

@@ -5,7 +5,7 @@ import { _, slice, MAX_ARRAY_LENGTH, MAX_ARRAY_INDEX } from './utils';
describe('sortedIndexBy methods', () => {
lodashStable.each(['sortedIndexBy', 'sortedLastIndexBy'], (methodName) => {
const func = _[methodName],
isSortedIndexBy = methodName == 'sortedIndexBy';
isSortedIndexBy = methodName === 'sortedIndexBy';
it(`\`_.${methodName}\` should provide correct \`iteratee\` arguments`, () => {
let args;
@@ -52,7 +52,7 @@ describe('sortedIndexBy methods', () => {
? 0
: Math.min(length, MAX_ARRAY_INDEX);
assert.ok(steps == 32 || steps == 33);
assert.ok(steps === 32 || steps === 33);
assert.strictEqual(actual, expected);
});
});