crocks icon indicating copy to clipboard operation
crocks copied to clipboard

Upgrading Tape to 5.x results in these tests failing

Open dalefrancis88 opened this issue 5 years ago • 0 comments

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`))
  })
})

dalefrancis88 avatar Jul 16 '20 22:07 dalefrancis88