Repository URL to install this package:
|
Version:
1.1.21 ▾
|
"use strict";
const not = require("../../src/deps/conditional/not");
const always = require("../../src/deps/fp/always"); // describe('not', function() {
// it('reverses argument', function() {
// expect(not(false)).toBe(true)
// expect(not(1)).toBe(false)
// expect(not('')).toBe(true)
// })
// })
test('not', () => {
expect(not(always(false))(false)).toBe(true);
expect(not(always(true))(true)).toBe(false);
});