crocks
crocks copied to clipboard
Upgrading Tape to 5.x results in these tests failing
Have not investigated further, just raising for visibility to remember.
When attempting to upgrade Tape to latest major version, every tests passes but these
test('hasAlg fantasy-land', t => {
const keys = Object.keys(fl)
t.plan(keys.length * 2)
keys.forEach(k => {
const inst = { [fl[k]]: identity }
const noFunc = { [fl[k]]: true }
t.ok(hasAlg(k, inst, `returns true for ${k}, when ${fl[k]} is a function`))
t.notOk(hasAlg(k, noFunc, `returns false for ${k}, when ${fl[k]} is not a function`))
})
})