import { describe, expect, it } from '@jest/globals'; import { _, id, cnst } from '../src/core'; describe('id', () => { it('returns first argument', () => { expect(id).toDeferEvaluationOf(null); expect(id(_(null))).toEvaluateTo(null); }); }); describe('cnst', () => { it('returns first argument after receiving second', () => { expect(cnst).toDeferEvaluationOf(null, expect.skipped(null)); expect(cnst(_(null))(_('whatever'))).toEvaluateTo(null); }); });