mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 16:47:49 +00:00
wip: code formatting nits
This commit is contained in:
@@ -5,7 +5,7 @@ import { _, MAX_SAFE_INTEGER, MAX_INTEGER } from './utils';
|
||||
describe('toInteger methods', () => {
|
||||
lodashStable.each(['toInteger', 'toSafeInteger'], (methodName) => {
|
||||
const func = _[methodName],
|
||||
isSafe = methodName == 'toSafeInteger';
|
||||
isSafe = methodName === 'toSafeInteger';
|
||||
|
||||
it(`\`_.${methodName}\` should convert values to integers`, () => {
|
||||
assert.strictEqual(func(-5.6), -5);
|
||||
|
||||
Reference in New Issue
Block a user