Files
lodash/test/identity.spec.ts
2023-09-16 14:47:50 -07:00

10 lines
268 B
TypeScript

import assert from 'node:assert';
import identity from '../src/identity';
describe('identity', () => {
it('should return the first argument given', () => {
const object = { name: 'fred' };
assert.strictEqual(identity(object), object);
});
});