UNPKG

ifd

Version:

Life Extending Ternary Operator Abstractions

12 lines (8 loc) 249 B
const path = require('path'), ifd = require(path.join(process.cwd(), 'dist/ifd.js')); const test = ifd(() => undefined, () => null, () => 'test', true); module.exports = { exp: function (should) { should.equal(test, 'test'); } };