mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
10 lines
268 B
TypeScript
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);
|
|
});
|
|
});
|