Skip to main content
Module

x/rambda/source/identity.spec.js

Faster and smaller alternative to Ramda
Go to Latest
File
import {identity} from './identity'
test('happy', () => { expect(identity(7)).toEqual(7) expect(identity(true)).toEqual(true) expect(identity({a: 1})).toEqual({a: 1})})